This applies to C# development too, but it’s an artifact of a previous life as a mainframe assembly programmer: Good coders eliminate more code than they create.
We mainframers used to get paid a lot of money to add features to a complex system. Like once I got a big contract to make an airline fare calculation system do something called “add-ons.”
Add-ons were additional fares that you could sell to a customer that was already purchasing a ticket. For example, if you fly from Chicago to London, the client wanted us to make available a special set of fares exclusively for extending that itinerary to Toulouse.
I merrily started coding this, only to realize how much old, bad code surrounded and interacted with my module. Benefiting from a generous hourly rate and an understanding client, I got permission to go through and clean up the surrounding code, which mostly involved deleting a lot of code that previous programmers had created when they were trying to quickly add features or fix bugs without looking at the overall code structure.















