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.
[ Parent
| on HN ]
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...