ben kuin a écrit :
hi
I think ocamls oo support is pretty controversial among experts. While
I don't like the syntax I think from a practical standpoint the oo
features makes sense (But then, I'm no expert :-) ).
As far as I can see nekoml is lacking oo completely, despite its roots
in ocaml and despite the prototype oo suport in the neko language.
So I'd like to ask:
Was the lack of oo support a deliberate design decision, or if it had
other reasons like technical difficulties?
Would it be possible to merge neko's oo features into nekoml?

It was a design decision. I have been using OCaml for several years and had almost no use for OO, which is actually pretty hard to use IMHO. OTOH, haXe is an OO language with some of the OCaml features (minimal pattern matching, type inference, polymorphism).

I think that both paradigms have they own advantages. Although I like to program in haXe for everyday work, NekoML is a lot better for symbolic processing such as compilers.

Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to