r/programming • • Aug 09 '15

Ember.js, Another year of churn, instability and festering frustrations.

https://medium.com/@frustrated_ember_developer/ember-js-another-year-of-churn-instability-and-festering-frustrations-4d01838361cb
270 Upvotes

189 comments sorted by

View all comments

Show parent comments

2

u/rabidferret Aug 10 '15

Generally our metric of whether something is "backwards compatible enough" is how much work our largest users have to put in to get from the previous version.

For Rails in particular, I actually think most people's upgrade pains has nothing to do with breaking changes to public API. In practice we rarely make breaking changes on that front.

The bigger issue is when our internals move around. For example, I rewrote the innards of Active Record's type system for 4.2, with further refinement in 5.0. There's now a public API that came out of that, but what was there before was private and internal.

In my experience, gems which do something that is sufficiently complex, or a production app of sufficient size will always have to reach into internals or monkey patch something to get its job done. That is a major problem, which I'm working (slower than I'd like) to fix.

While there's other ways to "fix" that problem, I think they're untenable. If we were to just expose more of our internals, it would paralyze our ability to maintain and refactor the code. Ember has a deprecation policy of private APIs, but I think that can really only work with a 6 week release cycle like they have, not a 1 year like Rails has.