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

Switch statements are the best.

Name: Anonymous 2011-09-06 17:40

Every language should have these.

Name: Anonymous 2011-09-06 18:16


switch([spoiler]/prog/[/spoiler]):
    case [spoiler]shit[/spoiler]:
       sage();
       break;
    case [spoiler]not_shit[/spoiler]:
       /* This code should never execute */
       bump(); [spoiler]bumpy_bumpy_fist_pump();[/spoiler]
       break;
    default:
       meh();

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