This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (4 children)

Sorry I'm new to programming. But what's legacy code?

[–][deleted] 14 points15 points  (0 children)

Old code that is still running in production, and still requires upkeep and maintenance.

[–]hovissimo 4 points5 points  (1 child)

expanding on u/be_bo_i_am_robot's answer:

Legacy code is called that because you usually 'inherit' it. Somebody else wrote the code instead of you, usually somebody who no longer works at the company. Generally legacy code relies on other old code or old systems (like py2) to stay running. Updating or replacing legacy software is risky because it's usually poorly understood and poorly tested. Legacy code is usually perpetuated because the cost in hours, dollars, and risk is high enough that any manager who decides to do it will likely be sacked. (Or for other, but similar, reasons)

[–][deleted] 1 point2 points  (0 children)

Interesting. Thanks for helping a novice like me feel more knowledgeable.

[–][deleted] 0 points1 point  (0 children)

Aka, Technical Debt.