Learning in the Age of AI

When I started learning algorithms and programming at university, the problems we faced were partly the work of our professors. Their very creative assignments meant they weren’t simply “implement a Hamiltonian path” or “write a quick sort.”

They were designed to make us apply what we had learned and use our imagination. It was creative and challenging work. Here’s an example of an assignment I did back then:

Someone’s doctoral research involved a C++ program for controlling a robot in an NxM room, where colored cubes could be scattered around. The robot had a set of instructions:

  • move forward
  • turn right or left
  • pick up or drop a cube

And you could ask it about its surroundings:

  • Is there a wall in front of it?
  • Is there a cube?
  • If it has a cube, what color is it?

The board looked something like this:

Initial board

During class, they explained simple algorithms so we could get familiar with the program. At the end of the course, they gave us a scenario to solve. I’ll try to describe the one I was assigned.

There is an NxM room containing X colored cubes. There is only one room in this world, with an entrance one square in size, located against one of the walls. A robot starts at any position in the room.

The robot must arrange the cubes against the wall opposite the room’s entrance, in an ascending histogram, and finish inside the room.

The solution would look something like this:

Initial board

Keep in mind that we don’t know:

  • The size of the board.
  • The number of cubes or their colors.
  • The location and size of the room.
  • The robot’s starting position.

Although the problem seems simple (and it is), I’m sure many people currently working in software development wouldn’t be able to solve it without AI.

This way of learning is the foundation of engineering. You are given the theoretical basics and applied examples, and then you’re presented with a problem where you have to put everything you’ve learned into practice. Some fundamentals are also prerequisites for other courses. That’s why curricula have prerequisites: you can’t take “Interconnectivity” (networks) without first taking “Operating Systems,” which in turn requires “Computer Architecture.”

Many people say universities teach outdated content, which may be true (though it’s debatable). But the core of a university—and even more so of engineering—isn’t the content it presents; it’s the way it teaches you to think, reason, and solve problems.

If you look at the great internet innovators, many of them started university and dropped out because they discovered how to solve a problem that required all of their time. They naturally already had what university might have given them. The other 99% of us have to go through that process.

Now we have a problem brought about by AI: the process I described above is no longer happening at any level. AI is a non-deterministic probabilistic system, which means that the answer to the same question or prompt won’t always be the same (it may be similar). It focuses on the solution, not on the learning process.

Those of us who had to deal with errors, problems, and software development before AI know that becoming a better professional meant wrestling with documentation, understanding how the system worked under the hood, and using trial and error until we finally had a working solution. That is a learning process.

So the question is: How can we learn while using AI? Let’s look at the process of addressing a requirement:

  • Context preparation for AI.
  • AI-assisted technology design and architecture.
  • Generation of the initial code.
  • Generation of unit tests (TDD / Unit Testing).
  • Review, refactoring, and quality.

(Source: AI-Assisted Software Engineering, or AI-assisted SDLC)

The process described is no different from the traditional approach without AI, but it introduces an optional step that modern AI usage makes essential: the “Human-in-the-Loop.”

Including a human at every step, even when AI could solve everything, is the first requirement for a developer (senior or junior) to have a chance to learn. But their presence alone guarantees nothing. It’s just as important, or even more important, for that person to remain critical and actively evaluate the solutions AI proposes. Learning can happen during that interaction.

In conclusion, each developer is responsible for their own learning, regardless of experience. The innate critical thinking that all engineers should have is the main tool to use in any environment undergoing technological change—as we already saw during the digitalization era. AI may have changed everything once again, but that is no excuse for mediocrity.

Related posts