News for hackers. Stuff that matters.
Re:Advantages of Functional Programming in Java 8 by douche on Tuesday September 06, 2016 @07:00AM (#12435038)
Languages that were actually designed to be functional-first, but multi-paradigm, like F# also support this.

Though to be honest, not allowing free functions in Java or C# is kind of silly. It seems like the compiler could pretty easily autogenerate a static class per namespace to actually stick them into, so that it would really just be a bit of syntax sugar.

Re:Advantages of Functional Programming in Java 8 by ygra on Tuesday September 06, 2016 @07:16AM (#12435118)
With using static, or import static, I guess it's not that big a pain point to actually change.
Re:Advantages of Functional Programming in Java 8 by tdb7893 on Tuesday September 06, 2016 @08:58AM (#12435605)
Yeah, I use standalone functions all the time in java. Import static is painless, especially with a good IDE