Re:Try OCaml
by galfarragem on Friday September 07, 2018 @06:45AM
(#17933254)
Probably Typescript is as close you get to Java world using web technologies.
[ Parent
| on HN ]
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.