concept software in category legacy software

appears as: software, software, The software
Re-Engineering Legacy Software

This is an excerpt from Manning's book Re-Engineering Legacy Software.

Because of this lack of information, many teams come to respect the status quo as the safest option, and become fearful of making any unnecessary changes to the software. Any change is seen purely as a risk, and the potential benefits of changes are ignored. Thus the project enters a kind of stasis, whereby the developers expend most of their energy on maintaining the status quo and trying to protect the software from all externalities, like a mosquito trapped in a blob of amber.

The irony is that by being so risk-averse that they don’t allow the software to evolve, they often leave their organization exposed to a very major risk, that of being left behind by its competitors. If your competitors can add new features faster than you can, which is quite likely if your project has entered stasis mode, then it’s only a matter of time before they steal your customers and push you out of the market. This is, of course, a much larger risk than those the development team was worried about.

But it doesn’t have to be this way. Although a gung-ho approach, whereby all risks are ignored and changes are rolled out willy-nilly, is certainly a recipe for disaster, a more balanced approach is feasible. If the team can maintain a sense of perspective, weighing each change’s risks against its benefits, as well as actively seeking out the missing information that will help them to make such decisions, the software will be able to evolve and adapt to change.

Listing 7.1. An example README file in Markdown format
# My example software Brief explanation of what the software is. ## Dependencies * Java 7 or newer * Memcached ... The following environment variables must be set when running: * `JAVA_HOME` ... ## How to configure Edit `conf/dev-config.properties` if you want to change the Memcached port, etc. ## How to run locally 1. Make sure Memcached is running 2. Run `mvn jetty:run` 3. Point your browser at `http://localhost:8080/foo` ## How to run tests 1. Make sure Memcached is running 2. Run `mvn test` ## How to build Run `mvn package` to create a WAR file in the `target` folder. ## How to release/deploy Run `./release.sh` and follow the prompts.
  • Testing —A place in which to test the software against realistic data running on hardware similar to that found in production. Depending on your needs you might have multiple testing environments for different purposes: one for everyday manual testing, one for staging, another for performance testing, and so on. In this chapter I’ll assume there’s only one testing environment and I’ll call it TEST. No matter how many environments you need to cater for, the same principles apply.
  • Production —The production environment, where real users interact with the software. If the software is something like a native mobile app or a piece of business software that the users host themselves, this environment will be out of your control, so we needn’t concern ourselves with it. But if it’s something like a web application that you host yourself, then you control the production environment and are in charge of provisioning it. In this chapter I’ll assume the latter, and I’ll call it the PROD environment.