mcc on Nostr: Question for language design people: Imagine a language which uses newline as a ...
Question for language design people:
Imagine a language which uses newline as a delimiter. It has the idiom of ending a line with \ in order to extend it.
Imagine a line ends with \,
and then the next line is *completely blank*,
and then the line after that contains content.
Do you expect:
The line merges with the blank one after it and the line after that is a new line?
The blank line is ignored and the \ line is merged with the next non-blank line?
Designer's choice?
Imagine a language which uses newline as a delimiter. It has the idiom of ending a line with \ in order to extend it.
Imagine a line ends with \,
and then the next line is *completely blank*,
and then the line after that contains content.
Do you expect:
The line merges with the blank one after it and the line after that is a new line?
The blank line is ignored and the \ line is merged with the next non-blank line?
Designer's choice?