3 ms·
I'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: i
by WalterBright 4y ago
I'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.