News for hackers. Stuff that matters.
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.