3 ms·
those misplaced semicolons are things i have only ever seen in extreme beginner code - "semicolon is a line terminator" school of thought. still. a warning woul
by zabzonk 4y ago
those misplaced semicolons are things i have only ever seen in extreme beginner code - "semicolon is a line terminator" school of thought. still. a warning would be good. nothing to do with the language itself, of course.
- WalterBright 4y agoI've made the same mistake now and then. But I never suffer from it, as the compiler zaps me with a fatal error. It appears in other contexts, too, like: if (condition); { ... }
- zabzonk 4y agowell, i guess we probably all have our favourite mindless error that we keep repeating but i can't honestly think of too many that i make. mine are more at the semantic level - things like iterator invalidation in c++, which are more tricky for the compiler to spot. out of interest, does D check for that kind of stuff?
- WalterBright 4y agoD doesn't have iterators (it has ranges) so I don't really know what you mean.