3 ms·
> but significant whitespace makes for excellent syntax with no downsides. Biggest downside: copying and pasting code breaks in a lot of apps. Jira, Teams, an
by const_cast 1y ago
> but significant whitespace makes for excellent syntax with no downsides.
Biggest downside: copying and pasting code breaks in a lot of apps.
Jira, Teams, and probably some others, eat whitespace for breakfast. So if a coworker gives me a code snippet they have to manually edit it (often not even possible) OR I have to, or it won't even run. And since the whitespace is significant, it can't be auto formatted.
Whereas with C# you can copy the most fucked up snippet, put it in your editor and boom - auto-formatted and compiles.