by sdflkjsdlkj · 3y ago · 0 comments
It would have to have been statically typed to get any real benefit. The programming world would be so much better if OCaml was the dominant programming language. With 5.0 it checks off every single box for an amazing programming language:
1. Garbage collected
2. Null safe
3. Algebraic data types
4. Multi threaded
5. Pattern matching
6. Support for object oriented programming
As a result your language is only type safe outside of the data and NN graph components which makes it fairly useless when 99% of the work is on the data and NN components.
edit: I've done a fair amount of ML, Data and Scala including ML/Data in Scala. So I've tried it and the type system wasn't of much help to be honest.