Skip to content

Instantly share code, notes, and snippets.

@oleks
Created November 15, 2017 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oleks/e29a4f2fecff2e705bcf2acfd4863df9 to your computer and use it in GitHub Desktop.
Save oleks/e29a4f2fecff2e705bcf2acfd4863df9 to your computer and use it in GitHub Desktop.
Rider K&R vs. 1TB
// K&R style (according to Rider)
if (condition) {
foo();
}
else {
foo();
}
// One true brace style (1TB)
if (condition) {
foo();
} else {
foo();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment