4 ms·
> i think people who want to program with types today most likely will go to rust, scala or f# I'm a Scala dev. I'm playing with Rust for lower level stuff, do
by draven 11y ago
> i think people who want to program with types today most likely will go to rust, scala or f#
I'm a Scala dev. I'm playing with Rust for lower level stuff, don't know much about F#, but FWIW I would rather code in Ocaml than Scala.
- daxfohl 11y agoSerious questions: Why, and why don't you?
- hisham_hm 11y agoProbably because they're paid to write Scala.
- draven 11y agoAs suspected by hisham_hm, I'm paid to code in Scala. At my previous job I tried to introduce some functional languages without much success. The stack was C++/Java and a lot of Python. I learned Scala because it runs on the JVM and I thought that may help. Later I moved to another city and when looking at job offers I saw a few Scala offers (and no Ocaml in sight) so I settled on Scala. IMHO Scala gained traction because it runs on the JVM. It's easier to train Java devs because you can start by writing Java-in-Scala and incorporate specific features as you go. The web ecosystem is nice (at work we're using Play.) There's also a few killer apps, like Spark. I'm currently trying to become as proficient in Ocaml as I am with Scala, but I'm already working with Scala 8+ hours a day so it's not that easy.