3 ms·
Commas-first give you an obvious visual clue when you forget a comma and let the reader immediately know that the current line is a continuation and not a new e
by kweinber 10y ago
Commas-first give you an obvious visual clue when you forget a comma and let the reader immediately know that the current line is a continuation and not a new expression.
- allover 10y agoLinters (or in Elm's case), the compiler, should tell you when you forget a comma. Indents let the reader know the current line is a continuation. Comma-first also creates worse diffs than (enforced) trailing comma.