Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

goto, not much worse than break/continue

Name: Anonymous 2005-02-21 17:56

Discuss.

Name: Christy McJesus !DcbLlAZi7U 2005-02-23 10:12

break/continue does indeed provide the user with ways to bring back the evils of goto, as do exceptions. Technically it's always possible to structure your loop so you don't need a break, but in practice it's not worth the extra wrangling just for the sake of some elegance.

One would have to make a determined effort to use breaks, continues, exceptions etc to create bad code.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List