3 ms·
That's why you want to start thinking macro and holding your code to a high standard early. You can, for the most part, avoid firefighting if you don't let thin
by mhh__ 5y ago
That's why you want to start thinking macro and holding your code to a high standard early. You can, for the most part, avoid firefighting if you don't let things fester.
If you're in charge, that is...
- yongjik 5y agoWell, sure, you're absolutely right that it's best to write high-quality code so that you avoid firefighting in the first place. But that's an orthogonal question to whether the number of while loops is relevant to code quality. Most programs (or even subtasks) aren't Turing machines - they are "unbounded" in that they're supposed to run indefinitely until someone tells them to quit, or until they abruptly hit EOF, end of stream, whatever. You don't improve such logic by making them "bounded" - it will be in fact missing the point. * If you prefer, change 11 pm to 11 am and my point still stands (though I'll be less cranky and less likely to rage-quit).