News for hackers. Stuff that matters.
Re:Elegant Error Handling with the JavaScript “Either” Monad by Dirlewanger on Wednesday June 19, 2019 @09:24AM (#20223081)
Yeah it's really hard to introduce, let alone completely stick with, FP in a non-FP language. I started to introduce some into our Ruby/Rails project, but halfway through, the code was more procedural than functional (which admittedly is more concise and cogent than OO); it's really hard to remember to treat everything as immutable all the time.

There are no comments on this comment yet.