How to Survive the AI Age: Build Your Foundation

By Esteban Trillo5 min readupdated AISoftware Engineering

AI fills the sail. Fundamentals keep the boat upright.
AI fills the sail. Fundamentals keep the boat upright.

I use LLMs every day as a software engineer.

They help me move faster. I use them to test ideas, debug errors, write rough drafts, and get unstuck when I am staring at the same file for too long. The more I use them, the more convinced I am of this: AI makes your foundation matter more.

That is why I get why students are asking, “Is computer science still worth learning if AI can write the code?”

Yes. And if you plan to use AI, it may be worth more than before.

An LLM can write a function, explain an error, scaffold an app, and suggest an architecture. So it is easy to think the old basics matter less.

I think that is backwards.

AI can help you create code faster than ever. But code you do not understand is not a gift. It is debt with better autocomplete.1 More files, more helpers, more packages, more bugs hiding behind code that “looks right,” and more things that work until someone asks why.

If you want to survive the AI age, do not stop learning software engineering. Build the base.

AI changes coding, not engineering

AI is good at small, clear tasks. It can write a first version of a function, generate tests, explain an API, refactor a component, or help you debug an error message.

That is useful. I use it for that all the time.

But coding is only one part of software engineering. Software engineering is also deciding what should exist. It is choosing where the code should live. It is knowing when a clever solution will be painful in six months. It is keeping the system small enough that a tired human can still understand it.

AI can help with the typing. You still have to do the thinking.

Fast output needs good judgment

There are two kinds of work in software engineering. One kind is tactical: you implement, fix, generate, translate, summarize, and iterate. AI is strong here because the task is usually small and the feedback is quick.

The other kind is judgment. You understand the problem. You choose the right shape for the code. You decide what risk matters. You stop a simple feature from turning into five abstractions and a new dependency.

Tactical workJudgment work
Write a functionDecide whether the function should exist
Generate testsDecide which risks matter
Refactor codeDecide where the system is going
Explain an APIChoose the right abstraction

That second column is where your foundation matters.

If you do not understand what you are building, AI will help you make a mess faster. It will give you code. You may not know if the code is correct, safe, easy to change, or even needed.

The danger is not that AI writes code. The danger is that AI writes code you cannot judge.

Fundamentals are how you fight the mess

Software gets messy on its own. Requirements change. Shortcuts pile up. Package versions drift. Names get worse. A quick fix in one file creates a strange bug in another file.

AI can speed that up if you use it without judgment. That does not make AI bad. It means AI makes your habits louder.

If you are confused, AI can produce confused code faster. If you are clear, AI can help you move faster without losing the plot.

You do not learn computer science basics because you will manually write every linked list for the rest of your life. You learn them so you can reason.

You can look at generated code and ask:

Those questions separate someone who produces code from someone who engineers software.

The instant-answer trap

AI also creates a learning trap. You ask a question and get an answer right away. You describe a feature and get code. You paste an error and get an explanation.

Shortcut mode“Give me the answer.”

Fast relief, shallow understanding.

Learning mode“Give me a hint.”

Slower now, stronger later.

That can feel like learning. Sometimes it is just relief.

Real learning is slower. You sit with confusion, trace the program, read the docs, break the thing, and fix it. Then you realize your first idea was wrong.2

That time is not wasted. That is where the foundation gets built.

Use AI while you study. Just do not hand it the thinking.

Ask for a hint before the full answer. Ask it to explain the idea at your level. Ask it to quiz you. Ask it where your reasoning breaks. Once you understand the basics, ask it to make the problem a little harder.

There is a learning idea called the Zone of Proximal Development.3 It means the best practice is just outside what you can do alone, but still close enough that help gets you there.

AI can keep you in that zone.

It can be a tutor. It can also be a vending machine for answers.

Pick tutor.

So, is CS still worth learning?

Yes.

You are not learning computer science so you can out-type an AI.

You are learning it so you can direct AI, check its work, and keep complexity under control.

The future will not reward the person who generates the most code. It will reward the person who turns fast code into reliable software.

That takes taste. It takes judgment. It takes patience. It takes a foundation.

If you are a student, do not treat AI as a reason to quit learning.

Treat it as a reason to learn deeper.

Use AI. Use it often. Learn how to work with it.

Just do not let it think for you.

Use AI to move faster. Use your foundation to know where you are going.

Footnotes

  1. Martin Fowler, Technical Debt. ↩

  2. Robert A. Bjork and Elizabeth L. Bjork describe “desirable difficulties” as learning conditions that can feel harder in the moment but improve long-term retention. See Making Things Hard on Yourself, But in a Good Way. ↩

  3. Zone of Proximal Development, Simply Psychology. ↩

Piwi hands a single letter to the user at a mailbox; a small note reads no noise.

Get the next one in your inbox

One email when a post goes out, with its sketch. Nothing in between, and one link to leave.

Sign in faster next time?

Add a passkey and skip the email link. Your fingerprint, face or device PIN is enough.