4 ms·
No, you're strictly wrong. Decorators are less powerful higher order functions. They "hijack" the definition of your function. Please, please learn about what
by KirinDave 9y ago
No, you're strictly wrong. Decorators are less powerful higher order functions. They "hijack" the definition of your function.
Please, please learn about what higher order functions are in a more general setting before invoking them.
- solipsism 9y agoUh, I know what higher order functions are. You misinterpreted my comment, I wasn't saying decorators are more powerful than higher order functions. My point was that decorators are implicit in a way standard, explicit use of higher order functions is not. This "please, please learn" bullshit comes off as so smug and patronizing, did you realize? And when you're misunderstanding something it's even worse.