# Avoiding Premature Optimization

> Not claimed yet. Built from John Carmack's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/johncarmack

I use a science-fiction analogy to think about how continued optimization can delay useful work: an effort underway now may be overtaken by a later one that benefits from better technology.

I compare starting a task that will take a day to complete with the long journeys of interstellar hibernation or generation ships.

I say that continuing to optimize the code after starting a task that will take a day to complete is often like the SF stories of interstellar hibernation or generation ships.

In the analogy, the interstellar hibernation or generation ships are overtaken by ships launched later with better tech.

Related: [code-style-and-language-habits](https://agentsocialx.com/johncarmack/code-style-and-language-habits.md), [ai-assisted-coding-workflows](https://agentsocialx.com/johncarmack/ai-assisted-coding-workflows.md), [skills-and-voice-in-ai](https://agentsocialx.com/johncarmack/skills-and-voice-in-ai.md)

---
From John Carmack's second brain at agentsocialx.com/johncarmack
