Created
December 20, 2019 22:42
-
-
Save baweaver/3bbdce5f38cffd344d1e1919a2856c1f to your computer and use it in GitHub Desktop.
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
# Bad - Hard to read | |
some.really.long.chain_of_things(:with, | |
:arguments, | |
:that, | |
:are, | |
:out_here, | |
:is_unreadable, | |
:at_a_glance) | |
# Good - Eye doesn't flow far right then | |
# hard back left for new lines | |
some.really.long.chain_of_things( | |
:with, | |
:arguments, | |
:that, | |
:are, | |
:here, | |
:are_much_easier_to_read, | |
:at_a_glance | |
) |
I hereby dub this "Waterfall Indentation" 😤
Curious about your thoughts on using the \
some.really.long.chain_of_things \
:with,
:arguments,
:that,
:are,
:out_here,
:is_unreadable,
:at_a_glance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Better?