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
9
votes
2 answers

Can I throw C++ exceptions from legacy C callbacks?

I have C++ code that uses some C libraries. The C libraries take C language callbacks. I wrote a callback in my C++ code and now I somehow need to report error from it (but it returns void). I wonder if I can throw an exception from a C callback…
bodacydo
  • 75,521
  • 93
  • 229
  • 319
9
votes
5 answers

Is the .NET Framework usable on Win98?

I need to write a little tool for a customer to be run on Windows 98. Since this is a very small project I'd hope that I could avoid having to go native C++ and use C#. The .net Framework 2.0 download claims to support Windows 98. Are there any…
David Schmitt
  • 58,259
  • 26
  • 121
  • 165
9
votes
8 answers

Delete or comment out non-working JUnit tests?

I'm currently building a CI build script for a legacy application. There are sporadic JUnit tests available and I will be integrating a JUnit execution of all tests into the CI build. However, I'm wondering what to do with the 100'ish failures I'm…
Chris Knight
  • 24,333
  • 24
  • 88
  • 134
9
votes
2 answers

Why does Joomla debug show 446 queries logged and 446 legacy queries logged?

I have been called in to fix the performance of a Joomla site that was already setup. I look at the debug output and it shows the same queries twice, once for queries logged and again for legacy queries logged. My guess is that it is actually…
Darye
  • 345
  • 1
  • 3
  • 13
9
votes
5 answers

Adding unit tests to an existing project

My question is quite relevant to something asked before but I need some practical advice. I have "Working effectively with legacy code" in my hands and I 'm using advice from the book as I read it in the project I 'm working on. The project is a C++…
Yorgos Pagles
  • 1,836
  • 3
  • 18
  • 29
9
votes
2 answers

File handling speed of python 3.3 compared to fortran 77

Strange question this, I know. I have a code base in fortran 77 that for the most part parses large non-binary files, does some manipulation to these files and then does a lot of file writing. The code base does not do any matrix manipulation or…
Fraser
  • 980
  • 4
  • 13
  • 31
9
votes
3 answers

Who should learn the "old" system?

I've been involved in several projects which basically involved replacing an "old" system with a "new" system. Invariably, the pattern has been that practically no one on the team building the "new" system has any real knowledge of the "old"…
JoelFan
  • 37,465
  • 35
  • 132
  • 205
8
votes
2 answers

What is a good way to manage cleanup commits in git for a legacy project?

I have a large codebase, where almost every single file isn't aligned properly, has bad spacing between variables or methods, or just generally ugly code. I'd like to make it better as I work with it, but fixing things like indentation makes the…
Jakub Arnold
  • 85,596
  • 89
  • 230
  • 327
8
votes
5 answers

Best Strategy or tools for migrating from VB6 to .NET/.NET Core

My company has tons of legacy applications that are written in VB6. We are in transitions from moving VB6 applications to .NET (3.5 specifically). What would be the best strategy for moving form VB6 to .NET? NOTE: Below update should go to…
dance2die
  • 35,807
  • 39
  • 131
  • 194
8
votes
3 answers

Isolating a static singleton class using class loaders

Disclaimer: This is probably not the best solution given the issue, but I'm curious how this implementation could be achieved. Problem I'm trying to deal with some legacy code which has a singleton defined like bellow: public class LegacySingleton…
flakes
  • 21,558
  • 8
  • 41
  • 88
8
votes
16 answers

Getting your head around other people's code

I'm occasionally unfortunate enough to have to make alterations to very old, poorly not documented and poorly not designed code. It often takes a long time to make a simple change because there is not much structure to the existing code and I really…
Joel
  • 11,431
  • 17
  • 62
  • 72
8
votes
2 answers

Wrapping the slf4j API

I want to retrofit slf4j with Logback into a legacy application. Good thing is, the legacy application has its own logging framework. So all I had to do is alter the logging framework to log to slf4j instead of log4j. It worked like a dream. I was…
Stijn Van Bael
  • 4,830
  • 2
  • 32
  • 38
8
votes
1 answer

how to create a legacy (v1 or v2) X.509 cert for testing

I have to write a test case against new code which checks to make sure that an X.509 cert is version 3, but I need some legacy (v1/v2) certs to use during testing to verify that the code works. I'm trying to generate the certs using openssl on a…
user4038805
  • 103
  • 1
  • 1
  • 5
8
votes
4 answers

Classic ASP server-side JSON library

I have inherited some Classic ASP code and I need a JSON library that can be instantiated and run server-side for use with JavaScript-coded server-side ASP. How can I do this?
dreftymac
  • 31,404
  • 26
  • 119
  • 182
8
votes
2 answers

what language was cybersyn/cyberstride implemented in?

I am aware that it was implemented on the IBM 360 mainframe architecture but does anyone know what language(s) were used in particular? Supposedly the bulk of it was programmed and deployed in 3-4 months - that is a pretty rapid turn-around for any…
shaunxcode
  • 103
  • 6