Last active
October 18, 2015 07:28
-
-
Save joyhuang9473/3c3284d840590871c457 to your computer and use it in GitHub Desktop.
When you have a boolean expression that is longer than the standard line length, be consistent in how you break up the lines.
This file contains hidden or 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
if ( | |
this_one_thing > this_other_thing && | |
a_third_thing == a_fourth_thing && | |
yet_another && last_one | |
) { | |
... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment