3 ms·
Decorators make it hard to step through functions in a debugger. Or hard to see what is going on.
by d4rkp4ttern 4y ago
Decorators make it hard to step through functions in a debugger. Or hard to see what is going on.
- mrtranscendence 4y agoIs 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.