Created
November 10, 2011 21:46
-
-
Save dbernar1/1356342 to your computer and use it in GitHub Desktop.
Why I like the opening brace to be on the next line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function do_something() { | |
do_it(); | |
do_something_else(); | |
} | |
function do_something_else() | |
{ | |
do_it(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Makes it easier for me to match the braces, and the first line of the function doesn't feel like it is butting up against the function def line. Perhaps it is just that I've been lookinf at the second version for long enough for the other to look lop-sided.