loading...

re: Decorators do not work as you might expect 🤔 VIEW POST

FULL DISCUSSION
 

"return value is not ignored, as opposed to what's mentioned in the documentation"

need to keep an eye on how decorator result is applied in case implementation is changed. Your first solution is more solid in case of such changes.

 

Agreed! That's one of the reasons why I showed both solutions.

code of conduct - report abuse