4 ms·
On the "if we were to design a programming language" level, it seems that a feature like ASI (Automatic Semicolon Insertion) is not only useless but even harmfu
by aes 16y ago
On the "if we were to design a programming language" level,
it seems that a feature like ASI (Automatic Semicolon Insertion) is not only useless but even harmful. Every programmer is required to learn the rules of the mechanism in order to understand others' code. Furthermore, it needlessly increases the amount of possible programming styles, which, in my opinion, is a bad thing.
C programmers have always used semicolons and never wasted a second thinking whether they should.
- xiongchiamiov 16y ago> C programmers have always used semicolons and never wasted a second thinking whether they should. And, as one who primarily writes in Python and Ruby, I always find myself omitting them, and spending more than a second wondering why they're necessary.