3 ms·
Maintaining backwards compatibility is not trivial as your comment seems to allude to. There's obviously a reason things are deprecated and removed from code ba
by halfmatthalfcat 6y ago
Maintaining backwards compatibility is not trivial as your comment seems to allude to. There's obviously a reason things are deprecated and removed from code bases.
There's also a reason SemVer exists, to notify you to the fact of breaking changes (whether the library maintainers actually abide by the correct usage is another conversation).
Don't want breaking changes? Dont upgrade your stuff, sounds easy to me.
- beders 6y agoYeah, never upgrade, fork and get the security updates somehow in that new fork. Not very convenient. Semver is not an excuse to break your clients. The reason given was "code size and keeping the API surface small". Both are bogus, especially since this is part of an optimizing compiler who will REMOVE unused code. Leaving simple forward from goog.isArray to Array.isArray in there does not cost any maintenance, does not mean extra tests (you already have those) and does not mean your API surface is overblown.