News for hackers. Stuff that matters.
Re:From First Principles: Why Scala? by holtalanm on Thursday February 11, 2021 @09:34AM (#26101847)
curious. what exactly is wrong with sbt? I used it once of twice when I was learning scala and I liked it a LOT more than gradle/maven. To the point where I actually opted to use it with my Kotlin projects later.
Re:From First Principles: Why Scala? by Fiahil on Thursday February 11, 2021 @09:41AM (#26101908)
Being better than maven is not a high bar, you should try cargo/rust, to have a meaningful comparison of a good build system.

The only problem is, once you've tried out Rust, it will be difficult for you to come back to Scala.

Re:From First Principles: Why Scala? by the_af on Thursday February 11, 2021 @09:52AM (#26102009)
To me, sbt is confusing as hell.

I no longer program in Scala, but I used to for my previous job and I regularly came across build files I couldn't understand -- and when I asked the person who wrote them, they couldn't explain their build properly either.

And this happened in enough cases that I wouldn't consider it an exception or a problem with a particular developer. SBT used to have two entirely separate syntaxes, and it was a mess translating from one to the other. I don't know if this is still the case (I know one of the two syntaxes got deprecated, can't remember which one now).

Re:From First Principles: Why Scala? by arcsin on Thursday February 11, 2021 @09:40AM (#26101902)
Re:From First Principles: Why Scala? by ratherbefuddled on Thursday February 11, 2021 @01:27PM (#26105271)
You need a phd in sbt to do things like "copy the jars", or "have a second set of dependencies".

The proponents of the approach that sbt takes have failed to realise that build tools have zero value whatsoever, every second spent on them is a second wasted.

What you want is a good mix simplicity (yes copy paste is fine) and some basic examples to follow, and the ability to break out into script if you are doing something unusual.