3 ms·
The nice thing is that you can choose the language and "community" independently. Scala with Spring or Java with Play. You can usually mix and match Java and S
by paulddraper 10y ago
The nice thing is that you can choose the language and "community" independently. Scala with Spring or Java with Play.
You can usually mix and match Java and Scala source code easily. Kind of like C and C++.
- dsacco 10y agoThis has not been my experience in practice, but it has been my experience that people say this can be done theoretically. I worked at a company where most of the backend was in Java and Scala. There was this platonic ideal of Scala for the usually stated reasons, but what actually happened was weird, half-implemented Scala with Java that was necessary to take it the rest of the way on pretty much every microservice. It never really felt like Scala stood on its own weight without requiring 20% of the solution in Java. That bifurcation ended up making the maintenance sort of a pain. I don't currently work with Scala (sometimes Java), but I would be interested in hearing some tips from you on how to make Scala more of a first class citizen and stand on its own weight.
- paulddraper 10y agoWell, my practical experience is that writing in Scala is so much more enjoyable, it eventually becomes 100% Scala.