Why We Defend Opinions We No Longer Believe
Cognitive dissonance means the architecture you spent three weeks building becomes your identity. The uncomfortable psychology of defending decisions long past the point of doubt.
- Cognitive Dissonance
- Confirmation Bias
- Decision Making
- Psychology

A developer spends three weeks building an architecture. On day one the design was a good bet. By the middle of the second week, the seams are showing — the abstraction is fighting every new feature, the tests are getting theatrical, and the honest assessment is that this was the wrong shape for the problem. And yet the developer does not pivot. Worse, they defend it. In the code review they argue for it with real conviction. In the hallway they sell it. Why would an intelligent person defend a decision they privately suspect was wrong? The answer, from social psychology, is cognitive dissonance — and it runs far deeper than engineering.
The engine: inconsistency is unbearable
Cognitive dissonance, the theory developed by Leon Festinger and explored extensively in the social psychology tradition of David Myers, begins with a simple observation: people are built to keep their beliefs, actions, and self-image consistent. When they collide — when I did something that contradicts what I believe, or believed something that contradicts what I did — the mind experiences a discomfort like a failing typecheck, and it resolves the conflict by editing one of the conflicting items. Usually the cheapest edit wins. Changing the architecture is expensive. Changing the belief about the architecture is free. So the belief changes.
The sunk cost is not the money — it is the self
The common explanation for this behavior is sunk cost: three weeks of work already invested. But sunk cost alone does not explain the conviction. The deeper mechanism is self-justification — the theory developed by Elliot Aronson — where the cost is not the hours but the identity. If the architecture was wrong, then the three weeks were partly wasted. If the three weeks were wasted, then I am the kind of person who wastes three weeks. The ego does not sign that verdict. It is cheaper to believe the architecture is right than to believe that about yourself. So the developer rationalizes: the abstraction is fine, the team is implementing it wrong, the requirements changed unfairly. Each rationalization reinforces the previous one, and the belief calcifies into loyalty.
Confirmation bias closes the loop
What makes the defense durable is confirmation bias, the tendency to notice and remember evidence that supports the position you already hold. The bug that fits the new architecture gets credited to it; the bug that breaks the design gets blamed on the implementer. The three success cases are remembered vividly; the two near-misses are edited out. Between them, dissonance and confirmation bias form a feedback loop: you defend the decision, the defense filters the evidence, and the filtered evidence justifies the defense. Every day the loop runs, the option of changing your mind becomes more expensive — not in hours, but in the accumulating weight of every argument you have already made in public.
The same machinery in business and relationships
This is not an engineering pathology; it is a human one, wearing different uniforms. The business that doubles down on a failing product because the founder's story is attached to it. The person who defends a relationship's problems as 'just how they are' because admitting the mismatch means admitting the investment. The political argument that hardens the moment you state it out loud, because now you have an audience for your consistency. The friend who cannot say the plan was bad because they recommended it. In every case the sequence is identical: a decision, an investment, an identity, and then a fortress built around all three — defended by a person who sometimes no longer believes a word of it.
What actually breaks the loop
The loop does not break by willpower; it breaks by separation — separating the decision from the self. The work is to make the failure about the architecture and not about the person, and that is a cultural condition before it is a personal one. Teams that review decisions without reviewing the decider make it cheap to change course; teams that mock the 'wasted' weeks make it costly. The personal version is the same discipline: ask the question before the verdict — 'if this design was submitted to me by a stranger, would I still defend it?' — and pre-commit to falsification, writing down what evidence would change your mind before the identity has a chance to mobilize. The dissonance will still fire. The point is not to feel no pain. The point is to treat the pain as information about your investment, not as proof of your correctness.
The hardest truth about cognitive dissonance is that the belief you defend loudest is often the one you doubt most. Conviction is not a reliable signal of confidence; sometimes it is a measure of how expensive doubt has become. I have learned to be suspicious of my own certainties, especially the ones I rehearse. When an opinion starts defending itself in my head, I ask who would lose if it were wrong. The answer is usually a version of me — and that is exactly when the opinion deserves its closest examination. The architecture, the belief, the position: they are all replaceable. The only thing that is not is the ability to change your mind, and that is precisely the ability dissonance works hardest to destroy.
Written by Rajat Yadav. If you enjoyed this, say hello in the guestbook or read another essay.