Questions tagged [legacy]
Questions about legacy languages, code, or applications.
116
questions
0
votes
1
answer
61
views
Manage multiple projects in the same DDD subcontext
I'm here for some advice about how to manage the situation where I have a legacy application running locally on an onpremise server with it's own database and I'm about to add an online shop app to it....
3
votes
2
answers
247
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 ...
0
votes
2
answers
171
views
What does "legacy signature" mean?
I see the term legacy signature a lot in the documentation of programming languages. For example in the php documentation :
Passing the separator after the array (i.e. using the legacy signature) ...
-2
votes
2
answers
159
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 ...
-1
votes
1
answer
197
views
New frontend for legacy code
How would you engineer this:
You have a legacy application that is a big ball of mud and a monolith. This application is "impossible" to change to look good on mobile devices.
The management ...
2
votes
2
answers
130
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 ...
5
votes
3
answers
420
views
Rebuilding a legacy application : What about the data model?
I am currently rebuilding from scratch a product catalogue (to feed a shopping website).
The existing legacy system is heterogenous, Long story short : The some products are stored in a FileMaker ...
-2
votes
1
answer
238
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 ...
1
vote
3
answers
611
views
Microservice integration with an external legacy system
We are decomposing a monolithic legacy system into microservices. As we do so, we can't completely remove reliance on some of the data in the legacy system that's required for each microservice.
...
2
votes
1
answer
111
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 ...
-3
votes
1
answer
56
views
Best Practices for Building An API and SDK for a Legacy Application
I have been given a task to take on a legacy application (which has a very poor API in terms of user experience, is undocumented largely, and performs slowly) and build a new API and SDK to improve ...
4
votes
5
answers
600
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 ...
4
votes
1
answer
583
views
How to modernize large legacy Fortran program? [duplicate]
Problem Background
Recently, I joined a government agency as a software engineer/scientist/analyst. Previously, worked in software industry - gained 3 years of software engineering experience at ...
5
votes
1
answer
319
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 ...
8
votes
3
answers
2k
views
How do I write unit tests for legacy code (that I don't understand)?
Forward
I've read a lot of things before asking this question, including many relevant
questions right here on SE:
(Software Engineering SE) Writing tests for code whose purpose I don't understand
(...
2
votes
1
answer
219
views
Is it possible to layer an API (REST, GraphQL, etc.) in front of data that is currently only accessible via an enterprise desktop GUI?
Currently, my thoughts are that GET requests would be feasible by using the concept of screen scraping combined with a cron job that runs at a set interval to scrape data from the GUI and sync to my ...
2
votes
1
answer
2k
views
Should I Microkernel or Microservice my legacy ERP?
I have been working on an n-tier monolith application for a couple of years, and want to build a plan to transform this big ball of mud to a more maintainable system.
I came across Software ...
1
vote
1
answer
263
views
Strategies for managing legacy data for a medium sized enterprise
I work for a mid market manufacturing company with around 1700 internal employees and about 7000 external users (employees of our customers). We grew through acquisition which means we have many ...
2
votes
1
answer
396
views
With source code lost, can the binary be released as MIT without it? [closed]
I preserve old software by asking copyright owners (often one author) to release the source code under an Open Source License, GPL or MIT. In many cases the source is gone, but the binaries still ...
3
votes
2
answers
145
views
How to convert multiple Git repositories for related code into proper branches/tags
Background
I've recently become the technical lead/senior developer for a small R&D/data science team. I've got a decent amount of non-lead experience in bigger development teams, but I've not ...
20
votes
3
answers
10k
views
Is Poor Man's Dependency Injection a good way to introduce testability to a legacy application?
In the past year, I created a new system using Dependency Injection and an IOC container. This taught me a lot about DI!
However, even after learning the concepts and proper patterns, I consider it ...
14
votes
6
answers
4k
views
What are the best practices around retiring obsolete database columns? [closed]
I'm designing an application which will in an early stage collect data A, B, and C from clients, but later on will instead collect data A, B, and D.
A, B, C, and D are very related and right now ...
5
votes
2
answers
952
views
How to approach this legacy Java project? [duplicate]
Edit: Assume that I will stay on this project until "the end".
The Problem
I'm currently working on a legacy interesting Java project(s). A full rewrite is currently out of the question, as I am ...
2
votes
2
answers
137
views
Make sense out of automatic information gathered from legacy system
I have a legacy system I need to plan a migration for. It's mainly developed in Ingres+4GL (an old Ingres based form system).
I have the following information:
Data Structures (data base relations ...
1
vote
2
answers
3k
views
What pattern for implementing multiple interfaces on the same type?
Description of the environment:
I am implementing a (hobbyist) modern engine for (an old) PlayStation 1 video game
Graphical data is represented as packets where it can represent either a polygon or ...
3
votes
3
answers
493
views
Designing new system to replace legacy: Would you start with a new database and maintain both independently until the switch? [closed]
We have a legacy system which will eventually be deprecated, at which point we will switch to using a new system.
What are the pros and cons of maintaining separate databases for the old and new ...
4
votes
2
answers
1k
views
Introducing TDD in a legacy product
I'd like to introduce test-driven development practices in an established legacy product. As with most legacy products, we could use quality improvement via safe gradual refactoring/code coverage and ...
3
votes
3
answers
946
views
Questions to ask a developer about legacy code before they leave? [duplicate]
We currently have over 300 web projects that are legacy code, that is kind of spaghetti like based on a modified version of an old framework.
Our one developer that knows these systems best is ...
0
votes
2
answers
202
views
Advice on using middleware to phase out legacy ERP system
I would like to know if any of you have any experiences and advice you'd like to share about middleware systems?
A little background first: the company I work for is based entirely on a closed ...
14
votes
3
answers
326
views
Supporting development for older OS
I am maintaining a large portion of legacy code, written in C. This code was initially written to be comiled against Windows 3 for Workgroups, and later a version for NT was created. This legacy ...
3
votes
2
answers
956
views
Repository pattern and Dependency Injection without an ORM
I want to implement the repository pattern in an old legacy project.
I already did some research, and found that, without an ORM, it's completely acceptable to have methods like "GetBySpecialProperty"...
13
votes
5
answers
783
views
Broken Old/Legacy Unit Tests
I work for a big company and I'm responsible for a large java application with thousands of junit tests. Since I moved to this role, there have been 200-300 broken tests (likely broken for years). ...
4
votes
0
answers
112
views
Architecting an account system for oauth that bridges a new and legacy system
So this question is specific to implementing auth in our system but I'm looking for high-level (just the architecture) solution or advice on which direction to head towards.
Overview (TL;DR)
Our ...
3
votes
2
answers
5k
views
Converting static utility class into singleton
In company where I work we have lots of "utility" classes, each has lots of code inside (thousands of lines), and they are all static. And one static methods call anothers. The problem here is that ...
0
votes
0
answers
207
views
Integrating legacy application with new functionality
We have a legacy application with, among other things, the ability to create instances classes within VB6 DLLs dynamically and call methods with varying signatures.
We have no way of accessing the ...
0
votes
1
answer
122
views
Access Database Migration: Sharepoint or Custom solution [closed]
In order to migrate a local Access database and make it available on-line I'm considering two solutions:
Migrate the database to SQL and build a custom ASP application in order to add/edit/delete ...
7
votes
2
answers
954
views
Going TDD in the middle of the project
They want us to develop new features of a product with TDD.
I know that they don't usually write tests for legacy code of already developed modules.
But yet, what if new features have to be added to ...
5
votes
5
answers
2k
views
How are financial organizations planning for the degradation of old programming languages such as COBOL? [closed]
I know that some financial organizations still use "dead" languages such as COBOL. I'm wondering what will happen in the future, when almost no one will program in those languages, and the maintenance ...
6
votes
3
answers
1k
views
Working with legacy code - introducing an external BDD integration test harness
Here's the scenario.
There's a large, organically grown application written in some language and manner that makes it difficult to test. It works but is hard to maintain.
Specifications are woolly, ...
3
votes
2
answers
1k
views
How to Keep Track of Thread Safe Code in a mostly Thread Unsafe Legacy Rich C++ Code Base
For large legacy C++ code bases, notions like Herb Sutter's "const means threadsafe" don't seem to help much, because there can be an overwhelming amount of code in const functions which are modifying ...
2
votes
1
answer
371
views
Best practice for accessing data from an external legacy ERP system
I have an architectural problem, and would be glad to receive some consultancy :). The application I am developing (let's call it system A) is responsible for management of work groups, where these ...
-1
votes
1
answer
238
views
Best solution for future maintenance of a website with hardcoded ids, custom CMS using bad database design [duplicate]
Recently I was put into a position of a tech-lead on a very interesting project that I have been partially working for two years. This project carries a lot of legacy stuff with it even though we try ...
2
votes
1
answer
257
views
Working with a large, messy object [duplicate]
I have been handed a very cluttered, "One Ring" object (one object to rule them all). The OR class has 40 fields. These fields map to 16 different objects (the OR has all the fields from the 16 ...
5
votes
3
answers
2k
views
Inheritance vs containment while extending a large legacy project
I have got a legacy Java project with a lot of code. The code uses MVC pattern and is well structured and well written. It also has a lot of unit tests and it is still actively maintained (bug fixing, ...
1
vote
1
answer
486
views
What is the most efficient method in converting AutoLISP legacy code to C#?
I am engaged in a project that works mainly in AutoCAD to design and manufacture prefabricated building components such as roofing trusses. One of our goals is to redesign a program that was written ...
0
votes
3
answers
472
views
New and old technologies coexist in legacy system [closed]
New technologies can accomplish existing tasks in more efficient and powerful way. But sometimes old technologies cannot be discarded unfortunately, so more numbers of technologies in one system make ...
0
votes
1
answer
90
views
testing: which code layers should I aim to test?
Say I have this code:
Design
{
public function load()
{
$this->loadProduct();
$this->loadService();
...
}
public function loadProduct()
{
...
-1
votes
1
answer
426
views
How to reuse spaghetti code
We're working on a new firmware for our new V2 device. The company has an older V1 firmware (and hardware). Hardwares are similar to each other (but there are some differences) so basically we could ...
9
votes
2
answers
799
views
Too many CS files in a single project [duplicate]
I am working on a ‘brown-field’ project, with a team of programmers. I understand each programmer will have different styles.
I am running into some criticism with my coding style, specifically ...
3
votes
1
answer
367
views
When not to move a "C style" code to "C++ or Object Oriented" code?
Context
I am (part of team A) developing a piece of functionality which depends on new APIs provided by team B. Old APIs (also provided by Team B) are there and this is how they are being used in our ...