Skip to content

Instantly share code, notes, and snippets.

@NotKyon
Last active September 6, 2020 23:24
Show Gist options
  • Save NotKyon/8208c45876a054732b4a061d98f0cc58 to your computer and use it in GitHub Desktop.
Save NotKyon/8208c45876a054732b4a061d98f0cc58 to your computer and use it in GitHub Desktop.
// Play with ?ts=<N> in the URL to see the effects of tabs vs spaces.
#define $ /* this macro is purposely blank as a countermeasure to editors that don't support mixed leading tabs/spaces */
switch( v ) {
case A, B:
$ C, D:
// ... code ...
}
// The `$` is unnecessary
switch( v ) {
case A, B:
C, D:
// ... code ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment