decorators - more than just syntactic sugar

Michele Simionato michele.simionato at gmail.com
Mon Aug 13 08:09:43 CEST 2007


On Aug 11, 8:30 pm, Helmut Jarausch <jarau... at skynet.be> wrote:
> Hi,
>
> are decorators more than just syntactic sugar in python 2.x and what
> about python 3k ?

Well, I argued may times that syntactic sugar is important (all Turing
complete languages differs by syntactic sugar only) and having or not
having
a given syntactic sugar makes a difference between writing and not
writing
a given program. Having decorators in core Python makes us think
differently.
Have a look at David Mertz article

http://www.ibm.com/developerworks/linux/library/l-cpdecor.html

   Michele Simionato




More information about the Python-list mailing list