#atom

How past code investment influences present programming decisions

Core Idea: Programmers often feel compelled to preserve and extend existing code regardless of its quality due to the psychological influence of previously invested effort.

Key Elements

Psychological Aspects

Overcoming Sunk Cost Thinking

  1. Recognize when you're preserving code primarily because of past investment
  2. Evaluate code based on current utility rather than past effort
  3. Reframe rewrites as "advancing in a better direction" rather than "retreat"
  4. Focus on future maintenance costs rather than past development costs
  5. Give yourself permission to abandon approaches that no longer serve your needs

Connections

References

  1. Metz, Sandi. "The Wrong Abstraction." Blog post. Originally from Chainline Newsletter.
  2. "Loss Aversion and the Sunk Cost Fallacy," Wikipedia.

#psychology #programming #decision_making #cognitive_bias


Connections:


Sources: