News for hackers. Stuff that matters.
Re:Scala 3.0.0-M1 by AheadOfTime295 on Wednesday November 04, 2020 @04:09AM (#24987487)
Scala 3 supports braceless syntax, aka significant indentation, aka "YAML is to JSON as Scala 3 is to Scala 2"

https://dotty.epfl.ch/docs/reference/other-new-features/inde...

There was quite some debate on this, going on strong.

Re:Scala 3.0.0-M1 by cryptos on Thursday November 05, 2020 @12:17PM (#24999955)
I consider this a totally useless "innovation"! As if Scala didn't have already enough possibilities to express things, no we are able to leave out braces, what makes scanning code even harder and will lead to an ugly mixture.

I would accept it, if they would decide to drop the traditional syntax. But adding yet another style, just for the sake of it, is waste of resources (of the Scala creators and Scala users).

There is a good article about the "strangeness budget" of languages, and I think that Scala doesn't spend it wisely. https://steveklabnik.com/writing/the-language-strangeness-bu...

Re:Scala 3.0.0-M1 by silon42 on Wednesday November 04, 2020 @08:29AM (#24988795)
Yuck... personally I'd want a Lint that would disallow many such syntax differences from Java: - force use of () - force use of ; - etc...