3 ms·
smart-ass comment: you should put two breaks in for when some programmer removes one of them six months from now. ;) edit: i know it's not totally analogous si
by hamburglar 12y ago
smart-ass comment: you should put two breaks in for when some programmer removes one of them six months from now. ;)
edit: i know it's not totally analogous since removing the exit and not noticing there's no break is a lot more likely than just randomly removing a break, but the "let's prevent someone clumsy from screwing this code up in the future" argument always makes me laugh a little.
- AnimalMuppet 12y agoOf course, you can always take it too far. Two breaks is too far, obviously (I'm pretty sure you agree with me on that). Is a break after an exit too far? It may well be, but it's less clearly too far than two breaks are.