Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rtoway
on May 14, 2021
|
parent
|
context
|
favorite
| on:
Scala 3.0
The optional brackets really makes the code look clean and easy to read!
acjohnson55
on May 14, 2021
[–]
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
on May 14, 2021
|
parent
[–]
I largely disagree and am not looking forward to dealing with mixed brace code at work.
caoilte
on May 14, 2021
|
root
|
parent
[–]
Hopefully there will be a scalafmt rule that can enforce consistency.
The_rationalist
on May 14, 2021
|
root
|
parent
[–]
And hopefully more than 0.1% of projects will turn the lint on..
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: