Timeline for while(true) and loop-breaking - anti-pattern?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2018 at 1:17 | history | edited | Deduplicator | CC BY-SA 4.0 |
added syntax-highlighting
|
May 20, 2015 at 16:43 | comment | added | supercat | I like your point about emulating missing control structures with control structures. That's probably a good answer to GOTO-related questions as well. One should use a language's control structures whenever they fit semantic requirements, but if an algorithm requires something else one should use the control structure required by the algorithm. | |
Mar 30, 2012 at 16:47 | comment | added | mjfgates | Oh, look, a language that does directly support mid-exit loops! :) | |
Mar 30, 2012 at 7:19 | history | answered | AProgrammer | CC BY-SA 3.0 |