News for hackers. Stuff that matters.
Re:Left to Right Programming by michaelfeathers on Monday August 18, 2025 @05:47PM (#44945686)
This is called point-free style in Haskell.

Sometimes it is called a fluent-interface in other languages.

Re:Left to Right Programming by bear8642 on Monday August 18, 2025 @06:07PM (#44945816)
> Sometimes it is called a fluent-interface in other languages.

Where've you heard it called that? I've normally heard tacit programming

Re:Left to Right Programming by michaelfeathers on Monday August 18, 2025 @07:39PM (#44946565)
The developers of JMock, the original library for Java.
Re:Left to Right Programming by lock1 on Monday August 18, 2025 @11:01PM (#44947841)
Or "point-less" style ;)

Could you elaborate? AFAIK tacit programming tend to be scrambling around composition, paren, and args which makes left-to-right reading significantly harder for function with arity greater than 2.

I find Java's method reference or Rust's namespace resolution + function as an argument much better than Haskell tacit-style for left-to-right reading.

Re:Left to Right Programming by mrkeen on Tuesday August 19, 2025 @02:22AM (#44948775)
It's chaining functions with a dot, just like you do in typical OO languages.

When it's OO, it's a virtue that everyone loves - a "fluent interface".

When it's FP - oh it's unreadable! Why don't they just break every line out with an intermediate variable so I know what's going on!