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: Anonymous 2005-02-27 12:32

Breaks in the context of switch statements can sometimes be fugly, but switch statements can execute faster than long lines of if-else if-else for simple values, since the variable is only evaluated once, rather than at each if or else if statement.   As >>10 said, if you are good and know what you are doing, then using break/continue isn't that bad.

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