5 ms·
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 i
by douche 10y ago
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.