News for hackers. Stuff that matters.
Re:The Hard Part of Learning a Language by lmm on Saturday May 30, 2020 @07:10AM (#23360282)
Don't bother using SBT. Just build Scala with Maven. It's wonderful, everything works how you'd expect, all the documentation from the Java world is still valid.
Re:The Hard Part of Learning a Language by auggierose on Saturday May 30, 2020 @07:46AM (#23360452)
Maven is another sort of hell :-) Also, do you have good integration for building Scala.js as well?
Re:The Hard Part of Learning a Language by lmm on Saturday May 30, 2020 @07:56AM (#23360500)
I've never got the hate for Maven - all the design decisions people dislike seem to be the same things that people praise Cargo et al for. If anything it suffers for being ahead of its time.

Use the Scalor plugin, https://github.com/random-maven/scalor-maven-plugin, and then Scala.js just works. I actually hooked it up to Netlify by treating Maven as a static site generator: http://m50d.github.io/2018/11/29/deploying-scalajs-with-netl...

Re:The Hard Part of Learning a Language by commandlinefan on Saturday May 30, 2020 @10:11AM (#23361292)
> SBT

Me: “How do I xxx in SBT?”

Them: “Read the docs, n00b”

Me: “what docs?”

Them: ...