Re:Dotty: a next generation compiler for Scala
by harveywi on Wednesday June 22, 2016 @01:59PM
(#11955746)
Unfortunately, we have things like this in the mix...
libraryDependencies += "com.lihaoyi" %% "scalatags" % "0.4.3"
libraryDependencies += "com.lihaoyi" %%% "scalatags" % "0.4.3"
Re:Dotty: a next generation compiler for Scala
by virtualwhys on Thursday June 23, 2016 @12:59AM
(#11958934)
To be fair you'd only be using one or the other, `%%` for jvm-only, and `%%%` for cross platform jvm/js builds.
Far and away the biggest blocker to learning sbt is the shaky IDE support for the build project. Apparently that's coming up next in 1.0; will be nice to click through to source from sbt build files and instantly grok what X symbol means. Have wasted a lot of time over the years slogging through documentation...
Re:Dotty: a next generation compiler for Scala
by lmm on Thursday June 23, 2016 @01:51PM
(#11963008)
A build definition format that allows arbitrary code anywhere is always going to have less-good IDE support than one based on declarative documents.
I generally prefer gradle's method of 'com.foocorp:foo:1.2' but that isn't acceptable statically. scala string interpolators could make it a thing, though.