4 ms·
Could you please also provide Scala versions for the other code snippets on that site? Just what you can come up with from the top of your head? I'm genuinely
by gentaro_ 7y ago
Could you please also provide Scala versions for the other code snippets on that site? Just what you can come up with from the top of your head?
I'm genuinely interested, having spent the last few years with Haskell and having recently rediscovered and being incredibly awed by the JVM and its ecosystem, and pondering on whether I should refresh what I'd known of Java or just outright embrace Scala.
- aliakhtar 7y agoYou should definitely go for Scala if you're coming from Erlang. You'll find it much more Erlang-like. I don't have the time to convert their whole site right now, sorry, but you'll find the same pattern holds - Scala does everything more elegantly and concisely. Feel free to look up a Scala tutorial.
- gentaro_ 7y agoGreat, thanks! Do you think Martin's textbook on Scala is recent enough relative to the present state of Scala as a language? I also see Scala 3.0 is in talks, nice.
- aliakhtar 7y agoI found that to be a bit dry personally, I personally just looked up Scala tutorials online and followed them