News for hackers. Stuff that matters.
Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by ackfoobar on Wednesday July 16, 2025 @08:19PM (#44588342)
I don't think "Scala+Maven is worse than Scala+sbt" is opposite to "Scala+sbt is worse than Java+Maven".

As much as I like to hate Scala, in my past experience if you have sbt console open, then hit compile after every few changes the feedback loop is tight-ish - barring crazy Scala features being used.

Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by vips7L on Thursday July 17, 2025 @11:17AM (#44594312)
You've misunderstood. sbt+Scala (as a build tool) + Java is the opposite of Scala+Maven.
Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by ackfoobar on Thursday July 17, 2025 @12:25PM (#44595049)
I see. I thought you were forced to write Scala in your application code, because sbt already implies writing Scala to describe the build.
Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by vips7L on Thursday July 17, 2025 @08:01PM (#44599706)
Sorry for the ambiguity. I have also had to write Scala in application code for those projects, but that's because the framework we used, Play, is written in Scala and it's Scala core leaks in many places where the Java compiler can't figure out the kludge of byte code generated by scalac.

I actually rather enjoy Scala as a language when I don't have to interact with it from Java and when I don't have to go full into the FP ZIO/Cats world.

Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by switchbak on Monday July 21, 2025 @11:47PM (#44643049)
Agreed, I don’t think I’d ever choose SBT as a build tool unless I had to.

Also agree on the FP side. It seems compelling at first, but good lord I don’t think it’s worth all the trouble.

Re:Mill: A Better Build Tool for Java, Scala, & Kotlin by ackfoobar on Tuesday July 22, 2025 @01:41PM (#44650589)
>> FP ZIO/Cats world

> I don’t think it’s worth all the trouble

Once you see the bijection between imperative programming and imperative programming in a monad, you'll be angry for all the wasted hours.

Then again, you'll be able to understand this satire piece, so who's to say if the time was wasted.

http://conal.net/blog/posts/the-c-language-is-purely-functio...