News for hackers. Stuff that matters.
Re:Functional programming is not popular because it is weird... by LinAGKar on Monday September 13, 2021 @04:42PM (#28516614)
That sort of chaining seems a bit like the method chains you have in some languages, like Java streams, C# LINQ and Rust iterators. That sort of "functional constructs when it fits" is getting popular, even if pure functional isn't gaining much popularity.
Re:Functional programming is not popular because it is weird... by scns on Tuesday September 14, 2021 @01:01AM (#28520419)
In D, Flix [0] and Nim you can use UFCS [1] to chain functions.

[0] https://flix.dev/principles/

[1] https://en.wikipedia.org/wiki/Uniform_Function_Call_Syntax?w...