Taking a look at #scala 3 for the first time in years. Seems like the dust has settled now. Wondering if significant whitespace has become the default now. Most examples in the reference seem to be using it.
0 Boosts
0 Likes
@vascorsd Yeah, that's my usual gripe with languages supporting too many way to express the same thing. I mean, I kind of get they "why", but you need to specify rather explicit guidelines inside a team so that it doesn't end up a complete mess. And as always, things like "how things look" are discussed way more aggressively than stuff that actually matters.
@raichoo it's a mix. Lots of people are using the white space syntax exclusively. Others in a mixed state with the other one, so mixing it with {}. Others use the new end markers... You know absolute freedom and silliness. Some disable the white space syntax and use the other one.
Even at work, for me, it's not consistent, something small some people put no {} others use () like on a .map, so .map() or .map{}, since now () also supports multilines inside 🤣🤣.
The rest is fine.