Why the age of AI means we need to learn more
AI can do more and more on its own, but it does what you intend. If the intention is wrong, AI only helps you be wrong faster. Why the age of AI is when we need to learn more.
On this page
Hi everyone. Today I want to talk about a question I've been hearing a lot lately, from friends, from colleagues, and from myself: "AI can do almost everything now, so why should I still learn things deeply?"
To be fair, AI today does much more than suggest a few lines of code. You hand it a task and it reads the code, edits several files, runs the tests and fixes what fails until the job is done. Work that used to take a whole day now takes a few minutes.
But one thing hasn't changed: AI does what you intend. If that intention is wrong, AI will carry out the wrong thing, quickly, cleanly and all the way to the end. That's why I think the age of AI is exactly when we need to learn more.
AI does what you say, not what you need
Here's an example familiar to anyone who works with Spring. Your authors list API keeps getting slower. You think "slow means add a cache", and you tell the AI: "Add caching to the authors list API."
The AI does a great job. It turns on caching, adds @Cacheable, configures an expiry time and even writes tests:
Java
@Cacheable("authors")
public List<AuthorDto> findAll() {
return authorRepository.findAll().stream()
.map(a -> new AuthorDto(a.getName(), a.getBooks().size()))
.toList();
}The API is visibly faster, the tests are green, and there's nothing to complain about in the review. The job was done exactly as requested.
The problem is that the request was wrong. The slowness wasn't caused by a missing cache; it's right there in that code: books is a @OneToMany relation, loaded lazily by default, so every call to getBooks() makes Hibernate fire one more query. With 1,000 authors that's 1 + 1,000 queries, the classic N+1 problem. The real fix is to load everything in a single query:
Java
@Query("select distinct a from Author a left join fetch a.books")
List<Author> findAllWithBooks();And the cache doesn't just hide the real bug, it adds a new one: an author adds a book, but the list keeps showing the old count until the cache expires. And every time the cache expires, the N+1 runs again in full, getting slower as the data grows.

The AI didn't get it wrong. The person giving the task identified the wrong problem. And if you don't know what N+1 is, you'll never think to ask "why is it slow?" before asking "how do I make it fast?". (If you want to understand what Spring Data JPA does behind the scenes, I wrote a post about it, in Vietnamese: Giải mã ma thuật Spring Data JPA.)
A wrong intention: the better AI gets, the more wrong it goes
Before, a wrong idea was often stopped halfway. You'd spend a few days building it, and during those days you'd read more, try more, a colleague would ask a few questions, and you'd realise you were heading the wrong way. That slowness was, without anyone planning it, a layer of review.
With AI, that layer has almost disappeared. A wrong intention can become a complete pull request, with tests and documentation, in a few minutes. It looks so professional that it's hard for anyone to doubt it.

One more example. Customers complain about being charged twice. Many people's first intention is "disable the Pay button after it's clicked". AI will do that in a minute. But if the cause is the client resending the request after a timeout, disabling the button solves nothing. What's needed is to make the payment endpoint idempotent: every transaction carries an idempotency key, and when the server receives the same key twice it processes it only once. To arrive at that intention, you need to know about retries, timeouts, idempotency and race conditions.

AI is leverage, and leverage multiplies everything, including the wrong direction.
AI can ask questions, but it can't understand for you
You might say: "Then just ask the AI to challenge your intention." True, and I do that often. But there are two limits.
First, AI only knows what you tell it. It doesn't know who your customers are, what stage the product is at, how much risk your team can accept, or which data is sensitive. That is usually where "right" and "wrong" are decided.
Second, when AI lays out two or three options with their pros and cons, you are still the one who chooses. If you don't understand the trade-offs between a cache, an index and a fetch join, or between disabling a button and an idempotency key, you'll pick the option that sounds most reasonable, not the one that is most correct. You might not even notice when the AI has misunderstood you.
In other words, AI makes the "how" much cheaper. The "what, and why" is still ours. And that part is only as good as our understanding of the problem.
Learn to have the right intention
So what should we learn? I think it's the things that help us see the real problem, not just how to write the code:
- Technical foundations, which hardly ever go out of date:
- Data structures and algorithms: when to use a hash map, when you need a tree, what the complexity is.
- Databases: indexes, transactions, isolation levels, how an ORM generates its queries.
- Networking: TCP, HTTP, latency, timeouts, retries. (Components of Network Layer Communication is a starting point.)
- Design principles: SOLID, and design patterns such as Observer (both in Vietnamese).
- How to find the cause: measure before you fix, read the logs, look at the real queries, reproduce the bug. "Why" always comes before "how".
- Understanding the business: who your system serves, and where a mistake costs money, data or trust. This is what AI knows least about your project.
How to work with AI the right way
A few habits I'm practising:
- Write the problem down before handing it over. One or two sentences in your own words: what the problem is, what you think the cause is, and what "done" looks like. If you can't write it, you're not ready to hand it over.
- Ask AI to challenge your intention, not just carry it out. Instead of "add caching to this API", try: "This API is slow and I'm planning to add a cache. Before doing that, list the other possible causes of the slowness and how to check each one."
- Ask "why", and don't stop at code that runs. Why is this approach right, what does it trade off, and when does it break?
- Do it yourself first, then compare with AI. Where you differ is where there's the most to learn.
- Verify everything that matters. Write tests, measure, read the original documentation. Don't trust an answer just because it sounds confident.
- Explain it again in your own words. That's also why I write this blog. Only when I have to explain something to someone else do I find out how well I really understand it.
Closing
The more AI can do on its own, the more the value of the person giving the task comes down to one thing: knowing the right thing to do. With the right intention, AI takes you very far. With the wrong one, AI takes you somewhere very quickly, just not where you should be.
So instead of asking "AI can do it all, why should I learn?", I think the better question is: "Do I understand enough to know what to ask AI to do?"
Have you ever seen AI do something perfectly that turned out not to be worth doing? Leave a comment below and let's talk.
Happy coding!
Comments 0
Sign in to leave a comment
No comments yet. Start the conversation.