Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's probably true, but there are a few reasons for it:

- Face it, decorator syntax is kinda ugly

- History. Decorator syntax is new

- For things which will be repeatedly subclassed, the metaclass automagically tags along

But it's almost certainly easier for a maintainer to look at a decorated class and figure out what's going on.





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: