nice work!
From what I understand Partial classes are somewhat like Ruby mixins?
I had a very similar mechanism in Tinkerbell, because for years I had
been waiting for haXe to have such a feature (extensions are cool, but
don't help you at runtime or implementing interfaces).
Funnily enough shortly after I finally had mixins, I implemented
syntactic delegation and decided to throw mixins away.
Of course I had never thought of using partial classes as a way to
separate platform specific code, but rather as a general mechanism for
code reuse.
As for hxplugins, I will have to look at the examples to get a better
idea of what it does, but it sounds promising ;)
Hi Caue,
nice work!
From what I understand Partial classes are somewhat like Ruby mixins?
I had a very similar mechanism in Tinkerbell, because for years I had
been waiting for haXe to have such a feature (extensions are cool, but
don't help you at runtime or implementing interfaces).
Funnily enough shortly after I finally had mixins, I implemented
syntactic delegation and decided to throw mixins away.
As for hxplugins, I will have to look at the examples to get a better
idea of what it does, but it sounds promising ;)