4 ms·
I am struggling a bit with decorators. I find myself in a lot of situations, where I could use a decorator on a function, but only some of the time. In this ca
by lysecret 4y ago
I am struggling a bit with decorators. I find myself in a lot of situations, where I could use a decorator on a function, but only some of the time.
In this case its much more convenient to design it as a higher order function.