15 ms·
Nestable comment syntax is also nice. At least some MLs (eg SML) has it, that I know of. Indentation-sensitivity can also solve similar problems. (Indentation
by jonasenordin 4y ago
Nestable comment syntax is also nice. At least some MLs (eg SML) has it, that I know of.
Indentation-sensitivity can also solve similar problems. (Indentation does not have to exclude requiring graphic termination. A formal language can require both. Or just a helpful tool.)
(Also agree with 'kebab-case', although the name is new to me and a bit weird.)
- lolinder 4y agoWhat makes C-style comments unnestable?
- gpderetta 4y ago/**/ could potentially be nestable, they are just not defined as such.
- funcDropShadow 4y agoThey are defined to be non-nestable. Any appearance of */ terminates the comment.
- still_grokking 4y ago> Nestable comment syntax is also nice. At least some MLs (eg SML) has it, that I know of. Scala has it too. (But OK, Scala is a kind of ML).