When you first think about becoming a software developer, you probably have dreams of creating exciting new features, playing with new technologies, and writing some really cool and interesting code.
What you probably don’t think about is working on a 10-year-old, crufty application written by some guy who left the company a long time ago, fixing the bugs he left behind.
The truth of the matter is that you’ll spend much more time over the course of your software development career maintaining code than you will writing new code. That’s how life is. Just one of those things.
This fact doesn’t mean, though, that you’ll only be working on maintaining old VB6 applications written decades ago. In fact, probably a large amount of the code you’ll be maintaining is your own.
So, it’s probably a good idea if you learn two things.
First, you’ll need to know how to properly maintain code so that it doesn’t get worse and worse over time until it finally falls apart. Second, you’ll need to learn how to write good code that is easy to maintain, so that developers who later have to maintain your code don’t track you down, come to your house, and kill you in your sleep.
In this article, we are going to talk about why learning how to maintain code and write maintainable code is so important, and I’ll give you some practical advice on how to do both of those things.