Legacy Code Risk

March 03, 2013 | Legacy Code

Taking the risk to adjust the architecture of a legacy system and extend it in a nice and clean way.

Creating a context:

(All the above yield sad customers, bugs, and slow performance.)

Against messy, tightly coupled, legacy code

Why it is a risk?

The above require a few changes in the system architecture (e.g. in order to be possible to not use Service Locators, in order to be possible to use Services to query from the database instead of the Active Record way, etc.).

While the required changes are going to (initially) slow down the development process at the end the overall development is going to be faster.

Would you take the risk?