|
|
|
|
|
by nkrisc
1319 days ago
|
|
Viewing the examples generally, the second one better communicates hierarchy at the cost of an extra line. The arguments are all grouped together visually and without distraction, while in the first example the first argument gets muddled with the function name. Why? To save a line break? |
|
The argument is already being muddled with the function in the same way.
These conventions are seen in the wild:
and The real fix for that muddling is to drop the commas, and move the parenthesis to include the function: Now func and arg1 are no more or less muddled than are arg1 and arg2. :)