Replies: 5 comments 12 replies
-
Examples of
|
Beta Was this translation helpful? Give feedback.
-
|
My personal preferance: no comma unless its a single line record/match expression/parameter list |
Beta Was this translation helpful? Give feedback.
-
|
For those who choose option 1, there's now a draft PR #34. Please comment on it if you find any unexpected behavior while trying that branch. I believe they're trying to add a new feature of smart detecting preferred styling based on the input code on the topiary project. I've no idea how long will it take to merge #34 , maybe the auto detecting feature will land first and we won't need it anymore. |
Beta Was this translation helpful? Give feedback.
-
|
Me:
|
Beta Was this translation helpful? Give feedback.
-
|
While I agree that commas make single-line code easier to scan, I think the single-line style is best suited for CLI use, where you typically want to write less and do more—so you might as well skip commas there too. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We want to collect preferences from different users on this topic.
Related issues #16 #30
28 votes ·
Beta Was this translation helpful? Give feedback.
All reactions