News for hackers. Stuff that matters.
Re:A primer on Python decorators by emboss on Wednesday April 11, 2012 @08:41PM (#3830387)
Minor nitpicking:

> unlike in Java, you can also call a class method on an instance

It's possible in Java, too. It's just considered bad practice.

Still, a very nice read!

Re:A primer on Python decorators by gbog on Wednesday April 11, 2012 @09:11PM (#3830487)
I'd say if you have to do that, it is most likely because you have a design problem somewhere. It is a code smell in Python as well.