LWN.net Logo

Advertisement

Front, Kernel, Security, Distributions, Development. See your byline here on LWN.net.

Advertise here

Python 3.0 released

Python 3.0 released

Posted Dec 7, 2008 10:12 UTC (Sun) by liljencrantz (subscriber, #28458)
In reply to: Python 3.0 released by nix
Parent article: Python 3.0 released

Thank you for the wellwishes. :)

But yes, the simple structure of Lisp obviously makes it much easier both to implement a macro system and to use it for creating new code. Just the simple little addition of static typing makes writing macros significantly harder.

On the other hand, people have been doing some impressive things by using C++ templates for metaprogramming, and that is a significantly more anemic and archaic interface than what I have planned.

My plan is that regular projects will very rarely contain custom macros, they should mostly be used for extending the language to provide features like enums, python-style with-statements, etc..


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds