The Art of Problem Solving books have an annoying habit. Each section opens with the problems, and the explanation comes after. You're supposed to try them cold, get them wrong, and only then read how they work. As a kid this drove me crazy. I'd stare at a problem for twenty minutes and be totally stuck. Sometimes this really made me rage, or cry, or both. Why did they do it that way? It made no sense!
Looking back now, those twenty minutes were the lesson they were trying to teach. By the time I read the solution to those initial problems, I'd already tried a couple of approaches from my preexisting toolbox. That meant when I finally read the solution, I could see where my thinking went wrong. And if I did manage to figure a problem out on my own, it felt great (plus the solutions usually showed an even cleaner way to do it).
If I had read the same detailed explanation first, it would have felt completely clear and easy, and I would have promptly forgotten how to solve it less than a week later.
So, what does this have to do with AI?
I've been thinking about this a lot because getting stuck on schoolwork, your job, or even big life decisions (please don't) has suddenly become completely optional.
When I hit a wall on a bug or a homework problem, I can just paste it into a chat window and get a plausible answer in ten seconds, and most of the time it's right.
I use these tools constantly (including on parts of this very website), so I'm not anti-AI or here to argue that AI is rotting our brains. What I'm interested in is what relying on AI actually costs us when we're trying to learn, because from personal experience I'm pretty sure it isn't nothing.
The struggle was doing something
This idea is far from new. In the Nicomachean Ethics, Aristotle wrote:
For the things we have to learn before we can do them, we learn by doing them, e.g. men become builders by building and lyreplayers by playing the lyre...1
Modern research backs this up too.
Manu Kapur calls it "productive failure": students who wrestle with hard problems before any instruction do worse in the moment and better afterward, especially on conceptual questions and problems that look different from the ones they practiced.2
Robert Bjork's broader term for this is "desirable difficulties." Slower, more frustrating habits, like quizzing yourself instead of rereading or mixing problem types instead of drilling one at a time, tend to stick much better than the comfortable versions.3
Both point to the same common trap: feeling like you get something is a terrible measure of whether you actually do. Reading a clean explanation feels almost identical to understanding it, even though what makes it stick is fumbling through the problem yourself.
I've watched my homeschooled brothers fall into this exact trap, using AI to come up with the argument for an essay or to skip past hard math problems. In the moment it works great, because the essay reads fine and the math homework gets done. But then you run into an issue. When the next unit builds on the math they skipped, or they have to argue a more advanced point, they become even more reliant on AI.
The same thing shows up in programming, which is where I see it most in my own life. Earlier this year, researchers at Anthropic tested this with AI directly, on programmers.4 They had 52 people with more than a year of Python experience learn Trio, an async Python library none of them had used before, by finishing two short coding tasks with it. Half of them, chosen at random, got an AI assistant that could see their code and write the whole solution if asked. Afterward, everyone took the same quiz on the library without AI. From the paper:
We find that using AI assistance to complete tasks that involve this new library resulted in a reduction in the evaluation score by 15.4% or two grade points (Cohen's d = 0.738, p = 0.010). Meanwhile, we did not find a statistically significant acceleration in completion time with AI assistance...5
So the AI group learned less, and they didn't even finish meaningfully faster (though speed isn't really my main point here). The gap was biggest on the skill you'd most want if your job is checking AI-written code:
Among the different types of questions, the largest score gap occurs in the debugging questions and the smallest score gap in the code reading questions. This outcome is expected since treatment and control groups may have similar exposure to reading code through the task, but the control group with no access to AI assistance encountered more errors during the task and became more capable at debugging.6
The group without AI hit more walls, so they got more practice figuring out how to debug. That's exactly what AoPS is built around, just in a completely different setting.
What the slow way bought me
My first real project at AERPAW was DroneTracker, which points a pan-tilt-zoom camera at a drone using its GPS telemetry. I was 13 and had no idea how to build anything like it. I didn't know a camera's idea of north depends on how it was bolted to the tower, or that velocity data can arrive in north-east-down instead of north-east-up (seriously why is this not standardized). I learned all of that the slow way, mostly by trial and error and watching the camera point at the wrong part of the sky.
With a current coding agent, I could easily have described the setup and had working aiming math in an afternoon. The scary bit is I'm not even convinced that would have been a worse decision. I would have had a first prototype far, far sooner than the month or so it took me.
Still, a lot of what I know about coordinate frames, GPS, Kalman filters, and a bunch of other miscellaneous stuff came straight out of those bugs and the learning I had to do from that.
Because of that, when I was working on a different AERPAW project (aerpawlib) a couple of years later, I noticed that Coordinate.bearing was off by up to about six degrees at Lake Wheeler (around 36°N), and had a decent guess that it was ignoring latitude.9 My coding agent didn't catch it while working in that file because the code treated latitude and longitude like a flat grid without scaling for latitude, so nothing about the math looked obviously broken.
That trade-off is really hard to weigh. Shipping a prototype in a day instead of a month is a real benefit, and plenty of those slow weeks were probably just wasted time. You just never know which ones mattered until many months or years in the future.
Ironies of Automation
That bearing bug is a small version of a much older problem: the automation misses something, and a person has to catch it. There's a 1983 paper by Lisanne Bainbridge called "Ironies of Automation," written long before AI and chatbots. Despite this, it has aged really well:
By taking away the easy parts of his task, automation can make the difficult parts of the human operator's task more difficult.10
Her point is that once you automate most of a job, the human is left watching the machine and stepping in when it breaks. Watching something that works almost all the time is boring, so your attention drifts. Then when it actually breaks, you're rusty at the exact skills you need to fix it:
Unfortunately, physical skills deteriorate when they are not used, particularly the refinements of gain and timing. This means that a formerly experienced operator who has been monitoring an automated process may now be an inexperienced one.11
The same thing happens to knowledge, which brings it back to getting stuck:
...efficient retrieval of knowledge from long-term memory depends on frequency of use (consider any subject which you passed an examination in at school and have not thought about since). The other is that this type of knowledge develops only through use and feedback about its effectiveness.11
Such a setup is the opposite of productive failure. You need the struggle to build a skill, and you also need to keep using it so it doesn't decay.
Aviation has a well-known example. When Air France 447's airspeed sensors iced over at cruise altitude in 2009, the autopilot disconnected and the crew had to hand-fly the plane in a regime airline pilots almost never practice. They stalled it, and it fell for more than three minutes before hitting the Atlantic. Investigators cited that missing manual experience as part of what went wrong.13 Obviously a bad pull request doesn't have the same level of severity as a plane crash, but it breaks down for the same reason.
Writing code with an agent puts me in Bainbridge's control room. The agent writes and I review. Reviewing code you didn't write is a separate skill from writing it, and in my experience a harder one, because generated code almost always looks reasonable. It tends to be the most typical-looking version of a solution, which makes the one wrong line in the middle easy to skim right past. The setup also only works if I can take over when it breaks.
Debugging is where I've learned most of what I know, and it's the first thing that disappears when something else is writing the code. It's also where the Anthropic study found the biggest gap.
It's the same thing with schoolwork. Reading through an AI-generated essay outline or math solution feels effortless because everything looks plausible, so you nod along and move on. Then a test or a blank page forces you to build the argument or solve the problem yourself, and you realize you don't actually know how.
Near the end of that section, Bainbridge writes something that gets harder to ignore as these tools improve:
Perhaps the final irony is that it is the most successful automated systems, with rare need for manual intervention, which may need the greatest investment in human operator training.12
Isn't this just calculators again?
The obvious counterargument is that people have said this about every new tool. Teachers worried calculators would wreck arithmetic (fair), and people worried Google would wreck memory.14
In Plato's Phaedrus, Socrates tells a story about the Egyptian god Theuth showing off his newest invention, writing, to King Thamus. Thamus is not impressed:
...this discovery of yours will create forgetfulness in the learners' souls, because they will not use their memories; they will trust to the external written characters and not remember of themselves. The specific which you have discovered is an aid not to memory, but to reminiscence, and you give your disciples not truth, but only the semblance of truth; they will be hearers of many things and will have learned nothing; they will appear to be omniscient and will generally know nothing; they will be tiresome company, having the show of wisdom without the reality.15
"The show of wisdom without the reality" is the fluency problem from earlier. He kind of had a point (see Reddit and Twitter), though we kept writing anyway.
I think there are two real differences this time.
The first is which step gets automated.
A calculator does the arithmetic, but you still have to figure out what to compute, which is what math classes are actually trying to teach. Copying from Stack Overflow (rip 🕊️)16 saved time too, but the answer was almost never written for your exact problem, so you had to understand it well enough to adapt it. Adapting it gave you a small dose of that same struggle. Current tools can figure out the approach, adapt it, and hand you code that fits your codebase, a full math solution, or the whole thesis and structure for an essay. The thinking you still had to do yourself is optional now.
The second is how close the answer is. Every older shortcut had some friction built in. You had to search, wait for a reply, or show up to office hours, and that delay was often enough to keep me thinking. Now the answer is always one keystroke away. Code autocomplete doesn't even wait for you to ask. It jumps in mid-thought and fills in the blank before you've finished working it out. Most of the time that's great, though sometimes it cuts off a line of thought I actually needed to follow. Chat windows and agents at least wait for a prompt, which just means I have to make the call myself every time: ask for the answer, or keep staring at the problem.
I hope that in ten years this will look just like calculators and Google, and this essay will age horribly.
I really, really hope that is the case.
I just don't think it will :(
Where I think it's fine
Not every kind of struggle is worth keeping. Digging through docs for forty minutes to figure out the right ffmpeg flags teaches you almost nothing, mostly because you'll forget them again by next week. A lot of that is just tedious busywork, and I'm glad I don't have to deal with it as much anymore.
Even when the struggle does matter, using AI doesn't automatically skip it. The most useful part of the Anthropic study for me is how much the results depended on the way people used the assistant. The researchers watched every participant's screen recording and sorted the AI group into six usage patterns:
...we find a stark divide in skill formation outcomes between high-scoring interaction patterns (65%-86% quiz score) vs low-scoring interaction patterns (24%-39% quiz score). The high scorers only asked AI conceptual questions instead of code generation or asked for explanations to accompany generated code; these usage patterns demonstrate a high level of cognitive engagement.8
The low scorers handed the AI all of the code, slowly slid into letting it write everything, or kept asking it to debug for them. One of the high-scoring groups still had the AI generate code just like the delegators did, except they didn't stop at copying it over:
Importantly, this approach looks nearly the same as the AI delegation group, but additionally uses AI to check their own understanding.7
Everyone in the AI group had the same assistant and the same tasks. What separated the high and low scorers was whether they kept thinking about the problem or let the assistant do the thinking for them.
And when you just want reliable output rather than practice, there is one real way out of Bainbridge's trap, at least in engineering. If you build a verification method that's strong enough to catch failures without you, you don't have to rely on catching bugs by eye. Most (all) of my confidence in the Z80 core of my ColecoVision emulator (and the other emulators I'm working on) comes from the 39,715 SingleStepTests vectors it passes. They check registers, flags, memory, and cycle counts for every opcode against known-good results, and they'd catch a broken instruction no matter who or what wrote it. AERPAW's safety filter works in a similar way. It only lets takeoff, land, goto, and yaw through, so a confused experiment script still can't do anything dangerous.
Most code doesn't have 39,715 proven test vectors, though. A safety filter will keep a drone in bounds, but it can't tell you if the flight script is doing anything useful. And outside of narrow engineering problems, when you're just trying to learn math, writing, or any new subject, there's no test suite that replaces actually knowing the material. You're still the one who has to notice when something is off.
So what does this mean?
I'm not going to stop using AI, obviously. I just have to be more deliberate about when I let myself get stuck. To try to avoid the downsides while keeping the upside, I've adopted a few soft rules:
- When I'm actually trying to learn something, I stay stuck for a while before asking anything, usually until I've tried at least two approaches that didn't work.
- When I do ask AI for help, I ask for a hint or ask what's wrong with my approach rather than asking for the solution. It's close to the "conceptual inquiry" pattern from the Anthropic study, except it's self-enforced.
- If an agent writes code I'm going to depend on, I can't just skim it. I need to understand why it's structured that way and how it behaves on edge cases, or there needs to be a test strong enough that I don't have to.
- Pointless friction that isn't teaching me anything (config files, boilerplate, CMake, remembering argument order) can go straight to AI.
The hard part with this approach is guessing where the boundary sits on subjects I don't know yet, between:
- useful struggle (stuff that improves my future problem solving)
- plain friction (stuff that doesn't)
I usually only find out which bucket something belonged in afterward, though I've gotten a bit better at telling them apart lately. Mostly because I have to: getting that call right is the whole strategy.
The AoPS authors could have put the explanations first and made the books way faster to get through, but they left the frustrating part in on purpose. Now that the explanation is always one prompt away, we have to choose that frustration ourselves, in a way we've never really had to before.
-
Aristotle, Nicomachean Ethics, Book II, 1103a, translated by W. D. Ross. Internet Classics Archive. ↩︎
-
Manu Kapur, "Productive Failure," Cognition and Instruction 26, no. 3 (2008): 379-424, doi:10.1080/07370000802212669. For the bigger picture, see Tanmay Sinha and Manu Kapur, "When Problem Solving Followed by Instruction Works: Evidence for Productive Failure," Review of Educational Research 91, no. 5 (2021): 761-798, doi:10.3102/00346543211019105, a meta-analysis of the research since. ↩︎
-
Elizabeth L. Bjork and Robert A. Bjork, "Making Things Hard on Yourself, But in a Good Way: Creating Desirable Difficulties to Enhance Learning," in Psychology and the Real World (Worth Publishers, 2011), PDF. Also worth reading: Nicholas C. Soderstrom and Robert A. Bjork, "Learning Versus Performance: An Integrative Review," Perspectives on Psychological Science 10, no. 2 (2015): 176-199, doi:10.1177/1745691615569000, which is about the same gap between getting the task done and actually learning that shows up in the Anthropic study. ↩︎
-
Judy Hanwen Shen and Alex Tamkin, "How AI Impacts Skill Formation," arXiv:2601.20245 (2026), arxiv.org/abs/2601.20245. Quotes here are from version 3 (November 23, 2026), which corrected some numbers from earlier versions, so older write-ups may cite slightly different figures. The assistant in the study was built on GPT-4o, which is a couple of generations behind current models. If anything, a stronger model makes it even easier to hand off the whole task. ↩︎
-
Shen and Tamkin, Section 1.1, "Our Results." ↩︎
-
Shen and Tamkin, Section 5.2.2, "Results." ↩︎
-
Shen and Tamkin, Section 6, "Qualitative Analysis." Each usage pattern only had 2 to 7 people in it, so treat the exact percentages as rough. ↩︎
-
Shen and Tamkin, Section 7, "Discussion." ↩︎
-
The fix: "Account for latitude in Coordinate.bearing", shipped in aerpawlib 1.4.11. ↩︎
-
Lisanne Bainbridge, "Ironies of Automation," Automatica 19, no. 6 (1983): 775-779, doi:10.1016/0005-1098(83)90046-8. This quote is from p. 777. ↩︎
-
Bainbridge, "Ironies of Automation," p. 777. ↩︎
-
Bureau d'Enquêtes et d'Analyses (BEA), Final Report on the Accident on 1st June 2009 to the Airbus A330-203 Registered F-GZCP Operated by Air France, Flight AF 447 Rio de Janeiro-Paris (2012), PDF. Among the contributing factors listed in Section 3.2: "The absence of any training, at high altitude, in manual aeroplane handling." ↩︎
-
The best-known study is Betsy Sparrow, Jenny Liu, and Daniel M. Wegner, "Google Effects on Memory: Cognitive Consequences of Having Information at Our Fingertips," Science 333, no. 6043 (2011): 776-778, doi:10.1126/science.1207745. ↩︎
-
Plato, Phaedrus, 274c-275b, translated by Benjamin Jowett. Internet Classics Archive. ↩︎
-
Not an exaggeration at all. Activity dropped 25% in the first six months after ChatGPT came out compared with similar sites where ChatGPT was less useful: Maria del Rio-Chanona, Nadzeya Laurentsyeva, and Johannes Wachs, "Large Language Models Reduce Public Knowledge Sharing on Online Q&A Platforms," PNAS Nexus 3, no. 9 (2024), doi:10.1093/pnasnexus/pgae400. Since then it has basically fallen off a cliff. According to Stack Exchange API counts, monthly new questions went from a March 2014 peak of over 207,000 down to under 1,000 a month by September 2026 (969 questions), a drop of over 99%. ↩︎