You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They both translate to [f(a,b)]. (It may be quite too late in the design process but) is there an argument that continuing arguments to a function call should require some indentation? Certainly I always write it that way, and was in fact surprised that
[
f a,
b
]
wasn't either a parse error or at least put the b as a second element to the array. To me it is very counterintuitive that a line with less indentation can be a continuation of one with more indentation -- it strongly conflicts with/messes with my visual scanning of the "profile" of the code on the screen.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Consider
vs.
They both translate to
[f(a,b)]
. (It may be quite too late in the design process but) is there an argument that continuing arguments to a function call should require some indentation? Certainly I always write it that way, and was in fact surprised thatwasn't either a parse error or at least put the b as a second element to the array. To me it is very counterintuitive that a line with less indentation can be a continuation of one with more indentation -- it strongly conflicts with/messes with my visual scanning of the "profile" of the code on the screen.
Beta Was this translation helpful? Give feedback.
All reactions