Strong conventions help reduce heterogeneity and guesswork on the part of the programmer. I’ve found myself wondering whether to go with
get(this, "prop"); ever since coming across
Now, I understand that when dealing with simple objects, it makes sense to use
get(pojo, "prop"); in case the object isn’t an instance of
Ember.Object. But, when accessing properties of the controller, router or component, I know that using
this.get() will always work, but I still find myself opting for
Ember.get in order to maintain some design consistency.
Does the core team have any preference, or an idea whether future versions of ember will always require us to use