2 ms·
> Also many open source libraries in Scala land have a very short life time and will not be upgraded to Scala3. No problem with Java, but it will take months fo
by lmm 9y ago
> Also many open source libraries in Scala land have a very short life time and will not be upgraded to Scala3. No problem with Java, but it will take months for many larger projects to remove Scala2 library dependencies from their code base.
The announcement says Scala 3 will be able to call Scala 2 libraries, so even if you're right (which is not my experience of open-source Scala libraries at all FWIW) this won't be an issue.
- _Codemonkeyism 9y agoYes I've read that point, but a.) it means not 2 but 2.12 b.) what happens if the 2.12 class file depends on old Scala library code? "this won't be an issue." After a decade of Scala usage and a several 100k line project to code on, I'll believe it when I see it.
- lmm 9y ago> what happens if the 2.12 class file depends on old Scala library code? Not possible - 2.12 is source- but not binary-compatible with 2.11, any "2.12 class file" will only have 2.12 dependencies. So we're talking about the release planned for 2020 having binary compatibility back to 2016 and source compatibility back to 2014. Not the same level of backwards compatibility as Java by any means, but better than many languages offer.
- _Codemonkeyism 9y agoWhat web framework are you using? Both Lift and Play had major migration problems over the last 5 years due to cutting off support for older Scala versions.
- lmm 9y agoA mix of spray/akka-http for REST backends (looking to shift to rho) and Wicket for HTML UIs. I don't think Play makes good use of Scala's strengths (frankly it didn't seem like very good code), and I didn't even realise Lift still existed.