Hacker News new | ask | show | jobs
by warsheep 4140 days ago
Can you (or someone else) explain the need for the language to be functional?
1 comments

I don't think there's a strict need, but functional languages tend to bring the desired traits: immutable data structures, referential transparency, isolating side effects and state mutation as much as possible, etc.

It seems like the more one uses React, the more they crave the above, so it makes sense to use an environment where all of the above is natural.