3 ms·
"Javascript is not an Object-Oriented language, but Ember is" Javascript is pretty clearly object-oriented, though the inheritance method (prototypal) is very
by awinder 11y ago
"Javascript is not an Object-Oriented language, but Ember is"
Javascript is pretty clearly object-oriented, though the inheritance method (prototypal) is very different from classic OOP. Moreover I don't think Ember is actually doing anything crazy under the hood, so it's distinct "object system" is probably leveraging mixins and maybe some prototypal inheritance?
- jeffreybiles 11y agoEmber is definitely leveraging prototypal inheritance under the hood... the object system is "just" some syntactic sugar so we can more easily reason about our code using the thought patterns we learned in other OO languages.