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

Decorators make it hard to step through functions in a debugger. Or hard to see what is going on.


Is it really that bad? At the end of the day a decorator is itself just as function call, not particularly magical in any way. The alternative would be reimplementing the logic of the decorator in the function to be decorated, which isn't necessarily better.




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

Search: