Python Metaprogramming Decorators Make Magic Easy

Posted by IdaAshley on Jan 18, 2007 5:24 AM EDT
IBM/developerWorks; By David Mertz, Ph.D.
Mail this story
Print this story

Each Python version has added slightly different wrinkles to the way you accomplish metaprogramming tricks. With the newest 2.4 version, Python has grown "decorators", the most user-friendly way so far, to perform most metaprogramming. Decorators modify the function or method that is defined immediately after the decorator.

Other Popular Articles

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: IBM, Linux, Microsoft

« Return to the newswire homepage

Subject Topic Starter Replies Views Last Post
wonderful Alcibiades 1 859 Jan 18, 2007 3:55 PM

You cannot post until you login.