Allen Wirfs-Brock wrote:
I'm quite certain that class-side inheritance is a good idea for dynamic class based OO languages with inheritance. It has proven utility. There may be things about that kind of language that an individual might not like. They might object to dynamic, or class-based, or OO, or inheritance. But if you have that combination, inheritable class methods make a lot of sense.

+1

In particular (and I did not cite your words) I think the interpretation of class methods as "static" is a stumbling block, and using |this| more, to increase genericity, is good.

The ultimate generic prorgramming model might be purely functional, but |this| is "just" another parameter. We shouldn't bend JS to fit on the static Procrustean bed of Java or C#.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to