3 ms·
thank the lord, i can't imagine something as ubiquitous as javascript still has no syntactically intuitive class system
by hayksaakian 14y ago
thank the lord, i can't imagine something as ubiquitous as javascript still has no syntactically intuitive class system
- darkstalker 14y agoThe MooTools library implements declarative class syntax for regular javascript: http://mootools.net/docs/core/Class/Class http://mootools.net/docs/core/Class/Class
- elehack 14y agoWhy not? Classes are just one implementation/realization of OOP. They're the most common, to be sure, but they're by no means the only way to do objects, nor are they necessarily the best. “There is more to OOP, Horatio, than is dreamt of in your philosophy.”