Skip to content

Instantly share code, notes, and snippets.

@marocchino
Created January 28, 2013 14:28
Show Gist options
  • Save marocchino/4655927 to your computer and use it in GitHub Desktop.
Save marocchino/4655927 to your computer and use it in GitHub Desktop.
어느게 더 읽기 편함?
def some_method
return false if aaaaaaaaaaaa && bbbbbbbbbbbb
return false if cccccccccccc || dddddddddddd
return false if eeeeeeeeeeee && ffffffffffff
do_something
end
def some_method
if (aaaaaaaaaaaa && bbbbbbbbbbbb) ||
(cccccccccccc || dddddddddddd) ||
(eeeeeeeeeeee && ffffffffffff)
false
else
do_something
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment