Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You've misunderstood. sbt+Scala (as a build tool) + Java is the opposite of Scala+Maven.


I see. I thought you were forced to write Scala in your application code, because sbt already implies writing Scala to describe the build.


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.


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.


>> 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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: