Top "Legacy-code" questions

Originally legacy code meant code 'inherited' from authors or from a previous program/system version.

Dead code detection in PHP

I have a project with very messy code - lots of duplication and dead code here and there. Some time …

php refactoring code-coverage legacy-code
How to find out if certain javascript code is actually used?

I am doing some JavaScript cleanup work on a legacy project, and trying to get rid of redundant JS libraries. …

javascript jquery legacy-code code-cleanup
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 …

legacy legacy-code codebase
BigQuery - IFERROR for standardSQL

I'm about to migrate queries from Legacy to Standard in BQ. In Legacy I used to have x/y returning …

google-bigquery legacy-code
__attribute__() macro and its effect on Visual Studio 2010 based projects

I have some legacy code that has got conditional preprocessing e.g. #ifdef and #else where I have found the …

visual-studio-2010 gcc macros compiler-errors legacy-code
How to unit test a method with a `using` statement?

How can I write a unit test for a method that has a using statement? For example let assume that …

c# unit-testing idisposable legacy-code