The 10 Commandments of Legacy Code
I saw a great Twitter post from Joe Anderson about the 10 Commandments of Legacy Code.
I saw this thread on Twitter/X and I thought it was too good not to share with my audience. It so brilliant, I can't add to it. I won't even try. I will post the list of commandments below since X is no longer public, but you'll have to have a Twitter account to see the rest. It's worth it. Dave gives a little explanation for each of the commandments.
- Thou shalt not complain about the code.
- Thou shalt not permit tight schedules to ruin your system.
- Thou shalt not put orphan features in your system.
- Thou shalt not re-write thy system unless thou have considered all other options.
- Thou shalt not be afraid to create new systems.
- Thou shalt learn the system before changing it.
- Thou shalt repair windows, not break them.
- Thou shalt not neglect the framework of thy system.
- Thou shalt use tests to refactor safer and easier.
- Thou shalt build the minimum to gain the value.