There are only a few bugs physically haunting me.<p>But mentally... I'm haunted by almost every mistake I've ever made. Sometimes to the point of spending hours looking into ways to make sure it never happens again.<p>Especially now then I'm out of the big city and my life is 10x less exiting(More like 30x, actually). I wish I had done just a bit more, back when I was still doing stuff, not let myself get distracted by anything personal, and just generally appreciated things a bit more.<p>I was mostly generally fairly respected wherever I went, but every dev has times when they weren't at 100%, and really early on, when I was first starting, there were definitely a few days when I made pointless mistakes because my mind wasn't completely on my work.<p>But there really weren't that many of bugs per se.<p>The other big thing that haunts me are some of the personal projects I did, and the bad but workable decisions I made on early jobs due to NIH.<p>I still have a bunch of stuff in my parts bin that is almost trash. Several hundred dollars worth. I didn't really enjoy messing around with PICs all that much. I'm not convinced it was the most effective use of time career wise.<p>I don't know if I really benefitted that much from making a point and click game engine in VB.net.<p>I might have been happier if I had listened to people who said "Just use an Arduino" or "Don't waste your time even thinking of making GUI apps in C".
I'm a Wordpress developer, and I didn't know much about Wordpress development < 2 years ago. I try to be diligent about testing code and providing ample documentation. However, even years after a site or a product has launched, I'm pulled back into the project to correct some mistake in a function's logic or some other such bug. Perhaps there are libraries that can help provide more rigorous testing.<p>How do you avoid getting bogged down fixing old code? Are there any other good tips and tricks for testing code and fortifying it against future breakage? Is it language-specific?<p>I wonder if there are any global rules that can help rookie engineers and developers avoid getting pulled back into old projects and old code. There's certainly something to be said about dependencies and updates in the world of Wordpress, and some obvious best practices to avoid those common conflicts.