3 ms·
Biggest problem I had with Akka was that it was that it worked better with Scala than Java. As Java recently has re-taken most of Scala's momentum its a bit awk
by zz865 5y ago
Biggest problem I had with Akka was that it was that it worked better with Scala than Java. As Java recently has re-taken most of Scala's momentum its a bit awkward fit.
- vips7L 5y agoSame story with Lightbends Play Framework. Using it from Java is abysmal.
- KptMarchewa 5y agoUsing anything build in Scala from Java is abysmal. Have fun with no default parameters, creating Seq$.MODULE$ everywhere etc. I'm not from US, so I've never have seen so much dollars anywhere.
- hardlianotion 5y agoI agree, it is a mess. I had a little success by simplifying the interop layer. If you can wrap your scala code in simple classes that expose only Java-compatible structure, then you can remove additional complexity of java into scala interop.
- KptMarchewa 5y agoI agree - unfortunately I work with 3rd party scala code in this case.
- lmm 5y agoYou might be able to write a shim layer in Scala. Java interfaces, Scala classes that implement those interfaces and call the third-party code. That's the nicest way to do it IME.
- KptMarchewa 5y agoI think that's what we plan to do. Still, it introduces some additional problems: we were able to target all the supported Scala versions with one package, now we'll have to do separate ones for 2.11, 2.12, and 2.13.
- nodejs_rulez_1 5y agoSame story with .NET - less and less reasons for F# to exist with each new version of C#. Only F# doesn't even bring any new useful frameworks to the table.
- johnnycerberus 5y agoSad to hear that, F# is an excellent programming language. Scala has matured a lot, there is no "better-Java" anymore, that's the reality, there are three ecosystems today, Akka, Typelevel and ZIO. The competition between these is also seen in the social media and other mediums. There's also Clojure, which in my opinion is still an uncharted territory.
- pjmlp 5y agoLesson number one for all adopters of guest languages on other runtimes, the platform always makes them irrelevant with enough time. And if the platform dies, it isn't only the main language that dies, everyone else that was seating as guest dies as well.