| ▲ | vips7L a day ago |
| Scala 3 decided to go with indents. |
|
| ▲ | elfly a day ago | parent | next [-] |
| You are not telling the whole story. You can mix indentation and braces to delimit blocks. It's insane. |
| |
| ▲ | macintux a day ago | parent | next [-] | | As a casual observer who has written perhaps a dozen lines of Scala in his life, I feel like Scala approaches any “pick one” decision with “why not both?”. Functional or OO? Yes. | |
| ▲ | vips7L 11 hours ago | parent | prev | next [-] | | I personally think this put the final nail in the coffin. | |
| ▲ | Blikkentrekker a day ago | parent | prev [-] | | I like how Haskell does it. One can do both but not mix, as in either indent or use `{ ... }`. |
|
|
| ▲ | Pay08 14 hours ago | parent | prev [-] |
| Kind of. It supports an end operator as well, and imo everyone should be using it. I actually really like the `end name` approach as opposed to the Lua-style plain ends. |