3 ms·
I'd actually argue that Javascript's object model, given its current usages, is close to ideal - but not perfect. It would be better if the language provided a
by gngeal 14y ago
I'd actually argue that Javascript's object model, given its current usages, is close to ideal - but not perfect. It would be better if the language provided a set of kernel functionalities for you to build whatever higher object model you might need. I have in mind something akin to this: http://www.vpri.org/pdf/tr2006003a_objmod.pdf http://www.vpri.org/pdf/tr2006003a_objmod.pdf
Foe example, ES6 is supposed to bring us some meta-stuff, but that wouldn't be necessary if the core model were more general.