Hacker News new | ask | show | jobs
by _lbaq 2261 days ago
Scala 3 have a Python feeling over it with optional braces indentation (https://dotty.epfl.ch/docs/reference/other-new-features/inde...)

I wrote an example using this new (optional syntax) https://github.com/olofwalker/ting, if anyone wants to have a look.

2 comments

Maybe it’s just me, but “optional” is a word I hate seeing in language design, because I’m thinking of how many code reviewers I’ve met that have a hard time with “optional”.
It's been about 10 years since I did some work with Scala. I really like the syntax and the way your project uses it. Seems immediately legible and simple.