re: Functional programming basics part 1: Pure function VIEW POST

VIEW FULL DISCUSSION

Funny that you choose JavaScript for the examples, while it doesn't support pure functions.

There is a good article on the topic that seems to spark some interesting debates--> hackernoon.com/do-pure-functions-e...

I feel we can still benefit from the concept and that indeed JavaScript will remain a language full of surprises ;) Maybe that is why we like it so much in the end?

code of conduct - report abuse