2 ms·
> Whitespace-as-syntax is something that I really disagree with That's why I suggested "optional" ;) given how powerful .net tooling is, there'd be a do
by dualogy 10y ago
> Whitespace-as-syntax is something that I really disagree with
That's why I suggested "optional" ;) given how powerful .net tooling is, there'd be a
dotnet --flipformat CodeFile.cs
command that IDEs/editors would invoke from a button/menu.
(I like Haskell's approach here, "layout-by-indentation first" but semis accepted for multiple-things-on-one-line and you can actually selectively have blocks in braces where the default indent-layout is inactive as your blocks are now brace-layouted.)
I was just half-joking with the above, it's just that once you get enough FP sugar in a language to actually be able to effectively write "FP style" that the desire for such syntax evolves, to wit: EcmaScript's fat-arrow functions or C# similar fat-arrow "expression-bodied methods/properties"