Hacker News new | past | comments | ask | show | jobs | submit login

Bug fixes and performance improvements!



But in this case. Don't you already have an idea, through profiling or debugging, which package causes bugs or is slow? And if you do, figuring out if theres a newer version that improves your situation should be rather simple.

I've stopped blindly updating my dependencies, as people seem to have very different ideas what semver means. minor and patch upgrades in node and ruby programs have broken my applications several times.

Even when semver is done correctly, a breaking change in a package usually also means that you have to upgrade to the breaking change to get other goodies like improved performance and bug-fixes. This is something that takes a lot of time. At work we've basically stopped doing breaking changes in our private packages, opting instead in for a scheme similar to what you have to do in Go for everything to work.

Versioning is, at the end of the day, a cultural problem. And not having the tools to do breaking changes well can actually turn out well.

At least, that's my current thinking. I may very well be, and often am, wrong.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: