3 ms·
I think the syntax decision is a good one. Indentation-based structure is nice, however in some cases it can cause some pains: code generation or embedding cod
by gnuvince 14y ago
I think the syntax decision is a good one. Indentation-based structure is nice, however in some cases it can cause some pains: code generation or embedding code in a document are two common examples. As for requiring semi-colons, I don't really mind them; in fact, I'm less annoyed at having to type semi-colons than having to remember rules for auto-insertion or semi-colons.
- chongli 14y agoHaskell solves this problem by allowing both. In any situation where layout/indentation has meaning, braces and semicolons may be substituted.