Questions tagged [legacy]
Questions about legacy languages, code, or applications.
117 questions
12 votes
5 answers
8k views
Is it an anti-pattern to create ORM entities based on existing database schema?
I maintain a large legacy app working with SQL database. The app uses raw SQL queries to query the database. Together with app rewrite I plan to introduce ORM to work with the database. The simplest ...
3 votes
2 answers
307 views
What is the safest way to deploy a lot of changes at once to a legacy, monolithic application with no test coverage?
My team have recently inherited a very poorly written, business-critical, monolithic LAMP application with the goal of guaranteeing reasonably uptime and scalability targets in just a few weeks. Our ...
-2 votes
2 answers
317 views
When is there a case for refactoring large parts of a codebase at once? (if ever)
I work with a specific engineer (let's call them X) that, even though they have many years of experience in the industry, has a lot of trouble to manage the scope of code changes. For example, say ...
2 votes
2 answers
188 views
Use old legacy application code from new application
If you have a big legacy application (big ball of mud), lets call it MudApp. If you then create a new application to make us of new technology and to make a new good looking frontend because that was ...
-2 votes
1 answer
472 views
Handling Legacy Database with Spring Boot Java
We are given a task to create an Web Service API for a mobile application. The problem is we have to use a legacy database that is not normalized and its very tedious to work with. We are accustomed ...
2 votes
1 answer
156 views
Wrapping a legacy project in a test framework
I am working on wrapping an old project written in C# in a test framework. The largest problem I have is that I have a bunch of classes that are all VERY tightly coupled with other classes. All of ...
4 votes
5 answers
1k views
How do you assess the damage in a system that has been using floats or doubles for money?
I've been assigned to a code base responsible for millions of dollars of transactions, per quarter, and has been in use for over a decade. Sifting through the solution, I see doubles used everywhere ...
5 votes
1 answer
383 views
Is stateless mode necessary before containerizing a monolithic application?
In my team, we are maintaining a monolithic application that was started in 2003. It is written in Java and has seen several successive layers of technical changes, growing to a hefty 400k-line ...