Y
Hacker News
new
|
ask
|
show
|
jobs
by
rtoway
1867 days ago
The optional brackets really makes the code look clean and easy to read!
1 comments
acjohnson55
1867 days 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.
link
vips7L
1867 days ago
I largely disagree and am not looking forward to dealing with mixed brace code at work.
link
caoilte
1867 days ago
Hopefully there will be a scalafmt rule that can enforce consistency.
link
The_rationalist
1866 days ago
And hopefully more than 0.1% of projects will turn the lint on..
link