Re:Write More Classes
by tikhonj on Tuesday February 12, 2013 @11:59AM
(#5207962)
OCaml, as the name ("Objective Caml") implies, also supports object-oriented programming. It actually has a pretty clever implementation of it as well. That said, many people tend to stick to the functional bits of OCaml and don't venture out into the OOP bits very often.
[ Parent
| on HN ]
I thought about italicising OCaml as well, but I'd hesitate to call it an object-oriented language. It's more like a functional language that happens to have an object system.
Likewise Common Lisp has an object system (CLOS) but I wouldn't call it an object-oriented language.