2 ms·
Whitespace-as-syntax is something that I really disagree with (and I don't think I'm the only one). Once you become proficient in a language, the braces, semico
by ttd 10y ago
Whitespace-as-syntax is something that I really disagree with (and I don't think I'm the only one). Once you become proficient in a language, the braces, semicolons, and parens become almost invisible structure, involving no cognitive overhead. This is one reason why I've never understood the objections to Lisps with respect to their use of parens.
- 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"