Wednesday, September 23, 2026

The Simplicity Advantage: Crafting Software That Lasts

image.png


Personally, I always strive for simplicity and elegance in software. AI makes that preference more important because both humans and models have a well-understood cognitive bias toward adding rather than subtracting.

The danger is not necessarily one bad generation. It is an accumulation.

f6935811-d019-435a-8136-67cfb1d1c196.png

Everyone should add subtraction into the development loop.

The technical co-founder of OpenAI and co-creator of chatgpt says that:

  • unchecked assumptions, 

  • sycophancy, 

  • overcomplicated APIs, bloated abstractions, and 

  • dead code

. . . are the most-offensive recurring problems in AI-generated code. He goes on to say:

Coding agents also really like to overcomplicate code and APIs, they bloat abstractions, they don't clean up dead code after themselves, etc. They will implement an inefficient, bloated, brittle construction over 1000 lines of code and it's up to you to be like "umm couldn't you just do this instead?" and they will be like "of course!" and immediately cut it down to 100 lines.

And Kaparthy is not the only one who recognizes this problem. And newer, simpler approaches are not better because human judges add their own "always add complexity" bias when the models are trained.

image.png

Therefore before asking AI what to add, we must always ask the model what to delete! Do you remember your college curriculum on Software Design?

  • Software Design - Complexity is the central design problem!
  • No Silver Bullet - Accidental vs Essential complexity
  • Simple made easy - Simplicity is deceptively difficult!
And finally, as I keep repeating in these posts, when you are trying to defend your code from vulnerabilities, exploits, etc:

There is no attack surface as good as no attack surface.

Less code means fewer vulnerabilities.

image.png

No comments: