News for hackers. Stuff that matters.
Re:Try OCaml by lingz on Friday September 07, 2018 @06:56AM (#17933299)
I disagree, Typescript has algebraic data types, conditional types, type inference, type guards, many or all of which are missing in Java. The class syntax is just another optional feature and it is possible to write quite functional / ocaml like code in typescript.
Re:Try OCaml by k__ on Friday September 07, 2018 @06:59AM (#17933312)
It's more like C# than Java.

But on the other hand, C# is more like Java (with extras) than JavaScript, haha.