3 ms·
The optional brackets really makes the code look clean and easy to read!
by rtoway 6y ago
The optional brackets really makes the code look clean and easy to read!
- acjohnson55 6y 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 6y agoI largely disagree and am not looking forward to dealing with mixed brace code at work.
- caoilte 6y agoHopefully there will be a scalafmt rule that can enforce consistency.
- The_rationalist 6y agoAnd hopefully more than 0.1% of projects will turn the lint on..