News for hackers. Stuff that matters.
Re:Currying in JavaScript by p2t2p on Sunday September 19, 2021 @09:56AM (#28584337)
For me, the functional/pipeline/call chain style changes perception from "how" to "what".

Because I say "what" do to do without going into details of "how" I feel like I have spent less mental capacity reading this portion of code.

However, it does require your transformations to be simple and composable, shove a giant multi-line lambda in there it yes, the loop will be better.

There are no comments on this comment yet.