DEV Community

Discussion on: Stop mutating in map, reduce and forEach

Collapse
 
klvenky profile image
Venkatesh KL • Edited

I agree 100%. Nothing in a programming language exists just for the sake of having it, it has a purpose.
Knowing that would make lot of things better. Because I'm more worried about people who're going to read/modify my code. I'd support this way of approaching code anyday anytime.

Great article.
Thanks

Collapse
 
smeijer profile image
Stephan Meijer

Thanks! 😊