bearophile wrote:
Structured programming is good because it usually helps code readability. But
it's not Verb, so in some less common cases a goto, break or continue help
improve the code.

Misra C Rules totally forbid break and continue, but more human coding
guidelines just suggest to avoid them when possible, they are not evil.


I thought the idea that break and continue were bad died about 25 years ago. Pascal didn't allow them, and pretty much everyone hated the workaround of having to use flag variables.

Reply via email to