Hacker News new | past | comments | ask | show | jobs | submit login

are there people who used both clojure and scala. And decided to use Scala ? if so why ? I'm new to Scala that's why



There are people that used both including me. But I fell squarely on the Clojure side and haven't written Scala for 7-8 years now.


Same, 2010-era FP in Scala was a disaster and also very angry, but I'd say in about 1-2 years FP Scala will be about at the maturity that they imagined they were at in 2010. Still kind of angry though.


I played with both Clojure and Scala, but ended up on Kotlin. I've been very happy there.


I've used both and end up writing much more Scala. There are a few reasons why this was the case for me:

  - Scala is much closer to Java making it an easier sell to other Java programmers.
  - I think static typing makes a lot more sense for larger projects
  - I found a rich static type system easier to use and more generally applicable than macros.


Yes. In general, I would choose Scala. Better tooling, (pretty good) type system; not without its warts. Main concern I'd see ahead is the 2 -> 3 transition, which has the potential to be as difficult as the Python 2 -> 3 transition. That said, Scala 3 looks nicer to me as a language, with top-level functions, significant whitespace (more concise code), and better ADTs.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: