News for hackers. Stuff that matters.
Re:When Does Point-Free Notation Make Code More Readable? by beaconstudios on Friday September 29, 2017 @10:55AM (#15365819)
given the article neglects to provide an example, I have one handy from my git:

https://gist.github.com/ajeffrey/092b71a3ad5f2034601574262c5...

Note how on this line, arguments are not present and passed around - the input of the function being declared is simply passed from function to function, with the output of each becoming the input of the next. When you can write code this way, it improves clarity by putting the focus on what the code is _doing_ rather than whatever arbitrary name you're giving the input parameters. It's definitely a tool for use in specific situations though as often the name of the arguments helps a great deal with readability.

There are no comments on this comment yet.