3 ms·
Or, just add a semicolon and keep it simple. Why risk it? KISS at work.
by felipemnoa 15y ago
Or, just add a semicolon and keep it simple. Why risk it? KISS at work.
- einaregilsson 15y agoThere are two possibilities: 1. Prefix lines that start with punctuation, specifically [(-+/ with a ;. Then omit them everywhere else. Lines that start with punctuation are a tiny subset of all lines generally. 2. Postfix every line with a ;, "just in case" I can't see how nr. 1 is harder. And in case 2 you don't actually put ; at the end of every line, you don't put them after {} blocks for example, so it's not like it's somehow easier to remember. "Because we're used to doing it that way" is a reason I guess, but not a great one in my opinion.