3 ms·
The optional brackets really makes the code look clean and easy to read!
by rtoway 5y ago
The optional brackets really makes the code look clean and easy to read!
- acjohnson55 5y agoI largely agree. It was (and is) a contentious issue, but I think it helps a lot in removing textual noise, in most cases. And it's always possible to add the brackets in where clarity helps.
- vips7L 5y agoI largely disagree and am not looking forward to dealing with mixed brace code at work.
- caoilte 5y agoHopefully there will be a scalafmt rule that can enforce consistency.
- The_rationalist 5y agoAnd hopefully more than 0.1% of projects will turn the lint on..