News for hackers. Stuff that matters.
Re:Magical, Mystical JavaScript Transducers by ur-whale on Saturday June 29, 2019 @08:31AM (#20312204)
100% agree with you.

I've always been uneasy with FP-style coding for three reasons:

   - you have strictly no idea how your code will be evaluated by the CPU. Some people love that aspect. It makes me immensely queasy. I might be a control freak.

   - as much as I love the idea an cleanliness of composing functions, having to abandon mutability for that is way too hefty a price to pay. There are situations where overwriting memory is the darndest best way to do things. Yes, side-effects are hard to code with, but just like gotos, there are situations where they are the best solution.

   - I've always felt that FP coders are way too focused the beauty of their code rather that the industrial strength of it, which includes: readability, how easy it is to change, efficiency. Proper production code shouldn't be origami puzzles.
Re:Magical, Mystical JavaScript Transducers by ElFitz on Saturday June 29, 2019 @10:28AM (#20312784)
Totally beside the point (which I agree with), but your bullet list renders horribly on mobile devices (lengthy horizontal scrolls >.<')
Re:Magical, Mystical JavaScript Transducers by ur-whale on Saturday June 29, 2019 @11:43AM (#20313202)
I have indeed heard of these "mobile devices" you speak of :p but for some weird HN algorithmic reason, I can't edit my comment anymore ...