News for hackers. Stuff that matters.
Re:When Does Point-Free Notation Make Code More Readable? by leshow on Friday September 29, 2017 @12:44PM (#15366847)
his is a function that returns a function, i.e. you'd need to call atLeastTwo(x)(); to get a result, yours is just a function. in es6 the equivalent thing to what he wrote would be:

    const atLeastTwo = x => () => Math.max(2, x);

There are no comments on this comment yet.