Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rtoway
· 5y ago · 0 comments
The optional brackets really makes the code look clean and easy to read!
Comments
[–]
acjohnson55
5y ago
I 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 ago
I largely disagree and am not looking forward to dealing with mixed brace code at work.
[–]
caoilte
5y ago
Hopefully there will be a scalafmt rule that can enforce consistency.
[–]
The_rationalist
5y ago
And hopefully more than 0.1% of projects will turn the lint on..