DEV Community

loading...

Discussion on: Why I don't believe in pure functional programming anymore

Collapse
maan2003 profile image
Maan2003

As soon as you modified a variable, everything you ever gave this variable to now implicitly has this modified version.

If you gave this variable to something, how can you mutate it? the variable has moved.
I tried my best