News for hackers. Stuff that matters.
Re:Please do not attempt to simplify this code by lewisf on Thursday December 27, 2018 @07:38PM (#18773935)
Seems like you have bad experiences with functional programming, but it's a little strange to rat on the advocates that are trying to figure out how to take potentially useful functional programming concepts and make them mainstream and/or explore alternative ways to quickly build robust systems.

Good examples of this translating to huge gains for the overall community are React + Redux.

I'm quick to admit that functional language ecosystems are not as mature, which might lead to lesser organizational productivity but no need to rat on functional programming in general.

Re:Please do not attempt to simplify this code by FPGAhacker on Thursday December 27, 2018 @07:56PM (#18774028)
A lot of things seem to get lumped into “functional” programming. The lexicon changes so I may just be behind the times, but ensuring every condition of branch logic is covered is not an aspect of functional programming as I understand it. And I may be wrong.
Re:Please do not attempt to simplify this code by tybit on Thursday December 27, 2018 @10:52PM (#18774774)
Without getting into what is and isn’t functional programming, exhaustive pattern matching is a very useful feature present in some functional languages.