News for hackers. Stuff that matters.
Re:Don't tug on that, you never know what it might be attach... by xyience on Friday July 01, 2016 @07:35PM (#12020465)
Tests don't magically make changes safe or give the confidence to make changes.
Re:Don't tug on that, you never know what it might be attach... by vacri on Friday July 01, 2016 @09:14PM (#12020922)
A culture of many small changes means that you deal with smaller problems relatively quickly. The more you fall behind, the bigger the jump to where you should be, and it's not a linear relationship.

At one place where I work, we're on nodejs 0.10, which is several release versions behind. It's causing us a bunch of problems, because while 0.10 is still technically not EOL'd yet, npm modules behave like it is... however we've left it so long, that the jump to current stable is a giant task, which we don't have the time for given other business reqs.

Tests indeed don't guarantee safety, but lots of small changes are easier to deal with than the occasional massive change. It's also the basic concept behind version control.

Re:Don't tug on that, you never know what it might be attach... by Osiris on Sunday July 03, 2016 @02:01AM (#12024980)
This is my experience as well with node and shrinkwrap. I see people using shrinkwrap to avoid potential issues, but what ends up happening is they get stuck on old versions of dependencies and when there's a bug fix or new feature that's needed it can be very difficult to upgrade. Instead, I prefer to try to always keep my dependencies up to date, especially with new major versions to avoid exactly this problem.
Re:Don't tug on that, you never know what it might be attach... by tamana on Friday July 01, 2016 @09:06PM (#12020904)
No, they scientifically make changes safe and give confidence to make changes.
Re:Don't tug on that, you never know what it might be attach... by TeMPOraL on Saturday July 02, 2016 @06:56AM (#12022094)
Do you think that, in case of the problem from this article, Perl devs should have had a test checking if their update doesn't break someone's Emacs when they try to use it in client-server mode, launching one via a Perl script and other via some other means, on a Linux with "capabilities" feature?

This story wasn't about trivial day-to-day developer bugs, but what kind of problems happen in really complex systems.