Skip to content

Comment on Ask HN: What do you wish more programmers cared about?parent

Comments

Legacy code is crystalized knowledge of a problem domain.

Legacy code is Chesteron's fence. It is wise to understand the conditions that caused it to be built before changing it.

Which is why Feathers’ book on the topic spends so much time on testing. Establishing a test suite that allows you to (hopefully) make changes without breaking things, and if you do you find out quickly.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.