Basically, from what I've understood, a closure is still functional, but according to some purists, it's not "pure functional" because it has state.
Not that I really prioritize "purity" in terms of functional programming. Avoiding state is good for the most part, but at some point it becomes relatively impractical. Common sense required.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Basically, from what I've understood, a closure is still functional, but according to some purists, it's not "pure functional" because it has state.
Not that I really prioritize "purity" in terms of functional programming. Avoiding state is good for the most part, but at some point it becomes relatively impractical. Common sense required.