Hacker News new | ask | show | jobs
by totalperspectiv 2262 days ago
As one of those new people boosting recent numbers, Scala is great! I use vscode with Metals and had no jvm experience before. sbt is annoying, Mill seems super promising, and graalvm native images basically mean that if I was going to do it in python, I might as well use scala now.
3 comments

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.

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.
I just use maven for Scala compilation. I want to avoid Turing computable build tools (yes I know u can load plugins with maven but it is at least stiving for a declarative model)
What's your problem with SBT? I've been using IntelliJ + SBT since I started with Scala and it has been working well for me.
Personally I prefer more declarative dependency configuration. Also the IntelliJ integration is terrible. It thinks so many of the files have syntax errors and doesn’t have reliable autocomplete or goto definition. Also I don’t like how many files there are; though to be fair i don’t know how standard our setup is.
Weird. I've never had IntelliJ give me sbt-related syntax errors incorrectly.