Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Getting in to metaprogramming
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Michele Simionato, post: 3685927"] Many times (probably most times) you can avoid code generation and use classes or higher order functions instead. Actually I don't like code generation techniques in Python and other languages. I would make an exception for Lisp-like languages, however, since there you a pretty powerful macro mechanism that in some cases can be better than using higher order functions, especially if performance is important. I say something more in the latest episode of my "Adventures of a Pythonista in Schemeland" which some of you may find interesting: [URL]http://www.artima.com/weblogs/viewpost.jsp?thread=240836[/URL] M. Simionato [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Getting in to metaprogramming
Top