What’s so great about functional programming anyway? 4 years ago
You can marry FP with object oriented notation, see UFCS or Scala, or lenses.
HN user
You can marry FP with object oriented notation, see UFCS or Scala, or lenses.
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.