Questions tagged [legacy]

A legacy system is an old application, technology, mainframe, method, etc., still having an influence on an organization.

A legacy system is an old application, technology, mainframe, method, etc. that may or may not remain in active use, while still having a certain influence on an organization.

On one hand, maintenance of legacy systems and their integration with new solutions can be time consuming, particularly when a vendor's support is no longer available. On the other hand, legacy systems tend to be well-understood and thoroughly tested in production environments over the years since their deployment.

811 questions
81
votes
19 answers

What's the best way to become familiar with a large codebase?

Joining an existing team with a large codebase already in place can be daunting. What's the best approach; Broad; try to get a general overview of how everything links together, from the code Narrow; focus on small sections of code at a time,…
RJFalconer
  • 10,890
  • 5
  • 51
  • 66
78
votes
13 answers

How do you introduce unit testing into a large, legacy (C/C++) codebase?

We have a large, multi-platform application written in C. (with a small but growing amount of C++) It has evolved over the years with many features you would expect in a large C/C++ application: #ifdef hell Large files that make it hard to isolate…
mpontillo
  • 13,559
  • 7
  • 62
  • 90
68
votes
8 answers

Finding "dead code" in a large C++ legacy application

I'm currently working on a large and old C++ application that has had many developers before me. There is a lot of "dead code" in the project, classes and functions that aren't used by anyone anymore. What tools are available for C++ to make a…
gudnithor
  • 830
  • 1
  • 7
  • 9
64
votes
10 answers

Being pressured to GOTO the dark-side

We have a situation at work where developers working on a legacy (core) system are being pressured into using GOTO statements when adding new features into existing code that is already infected with spaghetti code. Now, I understand there may be…
Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
58
votes
7 answers

IntelliJ not starting after OS X Yosemite update

I upgraded my OS X to Yosemite and now my IntelliJ IDE is not starting. Here is the error message: To open “IntelliJ IDEA” you need to install the legacy Java SE 6 runtime.
Guido Celada
  • 2,147
  • 1
  • 18
  • 23
49
votes
1 answer

Why are some views located inside the legacy tab in Android Studio 3.1 and what replaces them?

I've updated my Android Studio to 3.1 stable channel. I've noticed that "All" tabs in palette window are removed and "Legacy" tab is introduced. That tab contains the following: ListView TabHost RelativeLayout GridView I didn't mention the…
CodigosTutoriales
  • 1,018
  • 1
  • 10
  • 21
46
votes
7 answers

MS Access DB Engine (32-bit) with Office 64-bit

We currently have a major issue using Microsoft Access Database Engine 2010. The engine comes in 64-bit and 32-bit forms, which is good. However, apparently you need to always install the 32-bit version if the host process is always 32-bit. Fine, we…
drharris
  • 11,194
  • 5
  • 43
  • 56
45
votes
21 answers

What makes code legacy?

I have heard many developers refer to code as "legacy". Most of the time it is code that has been written by someone who no longer works on the project. What is it that makes code, legacy code? Update in response to: "Something handed down from an…
Chris de Vries
  • 56,777
  • 5
  • 32
  • 27
45
votes
5 answers

What is the definition of "legacy code"?

Possible Duplicate: What makes code legacy? What is the definition of "legacy code"?
user128807
  • 10,447
  • 17
  • 53
  • 72
45
votes
11 answers

Converting C source to C++

How would you go about converting a reasonably large (>300K), fairly mature C codebase to C++? The kind of C I have in mind is split into files roughly corresponding to modules (i.e. less granular than a typical OO class-based decomposition), using…
Barry Kelly
  • 41,404
  • 5
  • 117
  • 189
41
votes
2 answers

DDD, Anti Corruption layer, how-to?

At the moment, we have to build an application which is based on a legacy one. Code for that old application should be thrown away and rewritten, but as it usually goes - instead of rewriting it, we need to base something new on it. Recently, we…
Arnis Lapsa
  • 45,880
  • 29
  • 115
  • 195
39
votes
11 answers

What can you do to a legacy codebase that will have the greatest impact on improving the quality?

As you work in a legacy codebase what will have the greatest impact over time that will improve the quality of the codebase? Remove unused code Remove duplicated code Add unit tests to improve test coverage where coverage is low Create consistent…
Craig Angus
  • 22,784
  • 18
  • 55
  • 63
38
votes
11 answers

How can I run a Windows GUI application on as a service?

I have an existing GUI application that should have been implemented as a service. Basically, I need to be able to remotely log onto and off of the Windows 2003 server and still keep this program running. Is this even possible? EDIT: Further…
JeffV
  • 52,985
  • 32
  • 103
  • 124
36
votes
2 answers

Installation of VB6 on Windows 7 / 8 / 10

I have been having problems installing VB6 on Windows 7. I realize it is a legacy IDE and my research on the net hasn't been that much of help. Every time I attempt to install VB6 on Windows 7, besides the alert notifying me of compatibility issues,…
EthiopionZA
  • 797
  • 2
  • 9
  • 13
35
votes
5 answers

How to revert to previous commit in CVS

For legacy reasons, I'm using CVS on a project. Recently I committed some changes which broke our code and I needed to revert them. What's CVS's analog of git revert -r ? Looking at past questions like How to revert big change, CVS…
Fiona T
  • 1,921
  • 1
  • 15
  • 18
1
2 3
54 55