3 ms·
I don't know about the GP, but hooks are fundamentally an attempt to stick a state managing effects system into a language that is designed to use objects to ma
by kybernetikos 4y ago
I don't know about the GP, but hooks are fundamentally an attempt to stick a state managing effects system into a language that is designed to use objects to manage state. This gives you something approximating the worst of both worlds - your 'functional' components are not pure, and the effect management system is something you have to deeply understand to use correctly, but it clashes with the rest of the language.