News for hackers. Stuff that matters.

thaway34453

Re:What’s so great about functional programming anyway? on Wednesday November 16, 2022 @10:28AM (#33624658)
You can marry FP with object oriented notation, see UFCS or Scala, or lenses.
Re:What’s so great about functional programming anyway? on Wednesday November 16, 2022 @10:20AM (#33624499)
I do FP in JS, but I don't use Result or Option types or pipes because they are not part of JS's lingua franca.

But I expect everyone in JS to be comfortable with `Array.prototype.map`, `Array.prototype.reduce`, and closures as these are core tenants of the language.