Object-Oriented Reengineering Patterns

Recommended

Chapter 1 – Reengineering Patterns

1.1 Why do we Reengineer?

A legacy is something valuable that you have inherited. Similarly, legacy software is valuable software that you have inherited. The fact you have inherited it may mean that it is somewhat old-fashioned. It may have been developed using an outdated programming language, or an obsolete development method. Most likely it has changed hands several times, and shows signs of many modifications and adaptations.

Perhaps your legacy software is not even that old. With rapid development tools and rapid turnover in personnel, software systems can turn into legacies more quickly than you might imagine. The fact that the software is valuable, however, means that you do not just want to throw it away.

A piece of legacy software is critical to your business, and that is precisely the source of all the problems: in order for you to be successful at your business, you must constantly be prepared to adapt to a changing business environment. The software that you use to keep your business running must therefore also be adaptable. Fortunately a lot of software can be upgraded, or simply thrown away and replaced when it no longer serves its purpose. But a legacy system can neither be replaced nor upgraded except at a high cost. The goal of reengineering is to reduce the complexity of a legacy system sufficiently that it can continue to be used and adapted at an acceptable cost.

The specific reasons that you might want to reengineer a software system can vary significantly. For example:

  • You might want to unbundle a monolithic system so that the individual parts can be more easily marketed separately or combined in different ways.
  • You might want to improve performance. (Experience shows that the right sequence is “first do it, then do it right, then do it fast”, so you might want to reengineer to clean up the code before thinking about performance.)
  • You might want to port the system to a new platform. Before you do that, you may need to rework the architecture to clearly separate the platform-dependent code.
  • You might want to extract the design as a first step to a new implementation.
  • You might want to exploit new technology, such as emerging standards or libraries, as a step towards cutting maintenance costs.
  • You might want to reduce human dependencies by documenting knowledge about the system and making it easier to maintain.

Though there may be many different reasons for reengineering a system, as we shall see, however, the actual technical problems with legacy software are often very similar. It is this fact that allows us to use some very general techniques to do at least part of the job of reengineering.

Attribution

Serge Demeyer, Stéphane Ducasse, Oscar Nierstrasz (2013),Object-Oriented Reengineering Patterns, URL: https://win.uantwerpen.be/~sdemey/

This work is licensed under the Attribution-ShareAlike 3.0 Unported:
(https://creativecommons.org/licenses/by-sa/3.0/legalcode
).

VP Flipbook Maker

If you are looking to produce a visually appealing digital flipbook, the VP Online Flipbook Maker is the perfect solution for you! With this professional tool, you can easily convert your work into a flipbook from various formats, or create one from scratch using its design tool. Try it now and share your creations with others!