News for hackers. Stuff that matters.
Re:A pipe operator for JavaScript: introduction and use cases by sfvisser on Saturday January 29, 2022 @08:15AM (#30126004)
I think this argument makes sense in _some_ usecases, but definitely not everywhere.

There are genuine places where a FP approach to API/DSL design makes sense and writing code that abstracts away from concrete parameters and focuses on composition is important. Operators for function application and composition can now be used for a similar concepts on a higher level of abstraction.

Suddenly 'esoteric' syntax helps clarify your code and forces you to focus on meaning and intent, not syntactic details of your PL.

There are no comments on this comment yet.