Created
August 10, 2012 13:34
-
-
Save lazyatom/3314242 to your computer and use it in GitHub Desktop.
indenting styles
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
| a_really_long_method_name_with_arguments "looks weird", | |
| {if: "they are indented"} | |
| "like this" | |
| but_a_shorter_one "doesn't look", | |
| "quite as weird" | |
| it_also_depends_on "how long", "the arguments", "are" | |
| and_how_many_arguments( | |
| "there are", | |
| "going to be", | |
| "in the", | |
| "argument list" | |
| ) | |
| its_very_easy ["to go crazy", | |
| "with different kinds", | |
| "of arguments"], | |
| 1_000_000, | |
| kinds: {of: argument_can("be confusing")}, | |
| and: ["should probably be made into", | |
| "local variables for clarity"] | |
| in_general_i_think("parantheses are clearer") | |
| although_dsls do_look: "better", without: "them" | |
| and_indenting_is_a_matter "of", | |
| "aesthetic", | |
| "balancing", | |
| "of", | |
| "whitespace" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment