3 ms·
If you're willing to be judicious about which libraries you use then you can absolutely pick up Scala directly from Python - a lot of things you'd write in Pyth
by lmm 6y ago
If you're willing to be judicious about which libraries you use then you can absolutely pick up Scala directly from Python - a lot of things you'd write in Python translate directly into Scala, particularly if you were already writing map/filter style code.
(I like OCaml too, don't get me wrong)
- adenozine 6y agoOh yeah, for sure. I've seen some scala code that appeared quite palatable. I just meant that I don't know very much about writing it. There's been some times where I needed python for systems that weren't so lax about what I was able to install, and python was already there. Other than that, I've never really come across a reason disqualifying scala, barring know-how and time to learn it.
- lmm 6y ago> There's been some times where I needed python for systems that weren't so lax about what I was able to install, and python was already there. FWIW if a system has Java and Maven installed (i.e. any machine set up for Java) then you can use Scala there (indeed I'd say that's a much nicer way to use it than installing it at the system level). Unfortunately Scala tooling isn't really set up for starting quickly if you're not familiar with it, even though it's actually a pretty decent language for one-off scripts.