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
Most people don't have the time or energy to read through the entire style guide and internalize it. Additionally, there are always going to be gaps that we haven't explicitly handled.
For both of these cases, I think it would be nice to add a few concise guiding principles to the document. This would allow people to essentially "memorize these 6 ideas and you will know what to do 99% of the time."
I don't know what these principles are or should be, but I figured I would get the discussion started here.
The text was updated successfully, but these errors were encountered:
prefer explicit > implicit, in comparisons, coercions, names, etc.
when (/[/{ through )/]/} (i'll call them openers and closers after this) doesn't fit on one line, the opener should end the line; the closer should be the first non-whitespace character on a new line; the indentation level of the "line with the closer" should match the beginning of the "line with the opener"; and each item in the comma-separated list (when applicable) should be on a line by itself with a trailing comma.
Most people don't have the time or energy to read through the entire style guide and internalize it. Additionally, there are always going to be gaps that we haven't explicitly handled.
For both of these cases, I think it would be nice to add a few concise guiding principles to the document. This would allow people to essentially "memorize these 6 ideas and you will know what to do 99% of the time."
I don't know what these principles are or should be, but I figured I would get the discussion started here.
The text was updated successfully, but these errors were encountered: