Skip to content

Instantly share code, notes, and snippets.

@MarkBorcherding
Created December 21, 2012 19:11
Show Gist options
  • Save MarkBorcherding/4355046 to your computer and use it in GitHub Desktop.
Save MarkBorcherding/4355046 to your computer and use it in GitHub Desktop.
switch(true) {
case something():
foo();
break;
case something():
foo();
break;
case something():
foo();
break;
case something():
foo();
break;
default:
baz();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment