3 ms·
Programming languages shouldn't even consider whitespace (except perhaps new lines) syntactically important at all, so the whole discussion is silly. Once you'v
by bobbylarrybobby 4y ago
Programming languages shouldn't even consider whitespace (except perhaps new lines) syntactically important at all, so the whole discussion is silly. Once you've decided whitespace is important you might as well make emoji part of the syntax.
- throw827474737 4y agoWhy not? Making identation part of the syntax allows more for less?
- ghoward 4y agoBecause indentation-based languages have very limited formatting they can do. They can't do any indentation formatting.
- bobbylarrybobby 4y agoYou cannot cut and paste freely when indentation matter
- throw827474737 4y agoYes ok, but this is not very limiting and doesn't make this approach a ridiculous and failed one to start with, as the OP originally suggested and those languages which do it disprove already?
- tmtvl 4y agoI disagree: if we make languages have NWS (Non-optional WhiteSpace) then we can easily disambiguate between: let traversed-distance := yard-length; And: let traversed-distance := yard - length; Which is valuable as kebab-case is best case.