Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, in every ML/OCaml tutorial, sooner or later the words object, class, and type inference appear and that’s when a once–minimalist language turns into an academic Frankenstein.


I don't think objects and classes are used much by OCaml programmers (not by me anyway). Type inference is a rather fundamental feature, and fairly easy to understand.


It's not a minimalist language, you know what the "O" in Ocaml stands for right? It's a multi-paradigm language that explicitly accommodates more styles of programming than Caml, it's why it exists.


Why does type inference contribute to that issue?




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

Search: