3 ms·
OCaml objects are pretty neat, although I rarely ever end up using them. Although I also rarely ever use OCaml for that matter. One issue with the article - t
by aplusbi 12y ago
OCaml objects are pretty neat, although I rarely ever end up using them. Although I also rarely ever use OCaml for that matter.
One issue with the article - the author confuses duck typing and structural typing. While they are similar, there are important differences. OCaml uses structural typing (which enforces type at compile time) and not duck typing.