Working with existing code is a vast topic
—Part of CSS Primer for the AI Era — Working with Existing Code
Working with existing code is where AI makes
the most subtle mistakes.
So, we are going to repeat principles under different common scenarios.
Nothing to memorize, just go through them and recognize each as they are,
based on your own experience.
We are not talking about dramatic errors
or broken syntax,
not even missing semicolons.
The mistakes here are quieter:
These mistakes are small in appearance
but large in consequence.
They are the kinds of mistakes that slip through reviews,
accumulate over time,
and slowly distort the architecture.
A simple truth:
AI rarely fails loudly in existing code.
It fails quietly
— and quietly is where systems drift.
This section is long because we must learn to
recognize these quiet shifts from many angles.
Each chapter teaches a different way the work can drift,
and a different way we bring it back.
We encounter these errors at every level of programming —
and in every form of AI‑assisted work.
So, this chapter is worth reading,
even for those who do not write code.
But we can read it calmely because:
We are not teaching rules.
We are teaching instincts.
And instincts require practice from multiple directions.
Tony de Araujo —New York | Lisbon