3 ms·
I love Scala, it has a nicely advance static type system, supports functional programming and has even macros, although they are a bit messy. Something I miss i
by pinopinopino 7y ago
I love Scala, it has a nicely advance static type system, supports functional programming and has even macros, although they are a bit messy. Something I miss in go and python. Go's type system is way to simple and python is dynamic, which I think is unnecessary these days. Static type systems can be as expressive as dynamic ones. It has interesting libraries, like cats, shapeless, breeze. And it is popular in the big data field.
- esarbe 7y agoYeah, the thing with macros is that they were never officially supported. They were always kind of a hack. Scala 3 finally has an answer for that[1]. Besides that; yeah, Scala is amazing. I really see it shine for scientific computing when it moves beyond Python. [1] https://dotty.epfl.ch/docs/reference/metaprogramming/macros.html https://dotty.epfl.ch/docs/reference/metaprogramming/macros....
- pinopinopino 7y agoIt looks much cleaner and pleasant to use. Perhaps time to play around a little bit with dotty.