2026 10 30 audio: Hello my front end friends and welcome to General Musings. My name is Kevin and here at this podcast I'd like to talk about whatever is front of mind for me in any given week, usually in some way that's related to front-end development. This week we're talking about AI again, and I know I've been talking about it a lot lately, but this week it's less about how we're using it at work and more about how we're learning with it, because a study recently came out that really surprised me. Before we get into that, I just want to say quickly that if you enjoy these episodes and it's something that you really do like, if you haven't already subscribed for my newsletter, please do consider subscribing for it. if you like this, you'll definitely would appreciate the newsletter as well. The introduction sections to it tend to be kind of similar in vibes to what I do here, though. Usually about different topics or tangential topics than what I'm talking about here. But with that out of the way, let's jump into it because. Every few years, 15-year-olds in over 90 countries all take the same test. And in the most recent version of this, for the very first time, it asked students how often they use chatbots like ChatGPT for their schoolwork. Here in Canada, the teens who are using AI for their work every week were about two years behind the ones who never use it. Two years behind. I was blown away by this a little bit. I was expecting there to be a discrepancy between the two, but two years behind felt like a lot. So I actually started digging into more research and I found studies where students using AI learned twice as much as students who didn't use it. So which is it? Is it something that helps or hurts? Now before we go any further into this, the Canadian number comes with a bit of an asterisk because it is a correlation. It doesn't prove that AI caused those lower scores. And the researcher who dug into the results of the data says that themselves. But the uses with the biggest gaps are the ones you'd expect, the ones where AI does the work for you, right? Students who are using it every day to summarize their readings or to draft their writing, they scored about 80 points lower than the students who never used AI. Now, I don't normally dive into studies like this at all, but I guess it was just the timing of this happening. It caught my attention because of something that happened to me not that long ago when I was trying to learn something new and got a little bit stuck with it. And this is for a CSS feature that was coming out. And if you're watching this and you don't know me, I teach CSS. I've been teaching it for the last 10 years here on YouTube. And when I'm learning something new on CSS, I usually give an article or two a quick read if I can find any. And then I just go and start building something myself to understand how it works, and I have enough of a background in what I'm doing to understand it and get things and usually figure it all out. But this time I got stuck and I was getting really frustrated. Normally that's where you just keep on trucking and you figure it out, but I guess I was just feeling lazy. I had a broken demo. I didn't know what to do about it. So instead of trying to figure it all out, I just asked Claude what was wrong. And as you might expect, it came up with a pretty decent understanding or breakdown, I should say, of the part that I was getting confused by. And I was like, yeah, that makes sense, and I just let it go. Then we can fast forward a couple of days when I went to build out a more robust demo because I actually wanted to make a tutorial on this thing, and I actually realized I had no idea how to use it. Like with everything else, AI keeps getting pitched as a revolution, not just in how we work. But in how we run our lives, and of course now in how we learn as well. Learn faster with AI. Learn this in 40 minutes instead of 40 hours. Less effort and better results. And that's the part I mostly want to push back on because it frames learning as something that you can shortcut. The thing is, when it comes to actually learning something, we learn through friction. The struggle isn't the thing getting in the way, the struggle is the learning. When I had that broken demo, if I'd figured out how to fix it on my own, I would have understood what was happening. Instead, I read an AI summary and said, Yeah, makes sense. I got it. And then I didn't actually get it three days later when I wanted to use that thing. And that's because understanding something isn't the same as actually being able to do it. And we've known this for a long time, right? Before the AI revolution and all of that, the whole idea of tutorial hell comes from the same gap. You understand something well enough to. Be able to of get it, understand how it works, but you're not actually able to use it. I always like comparing this to learning how to skateboard. You can watch a two-minute video or maybe you know a bunch of videos on YouTube on how to do a kickflip, and you can understand every single step that you'd have to do to be able to do a kickflip. But that first time you step on it, you're probably gonna fall on your ass no matter how many tutorials you've watched. That same gap exists for learning. Anything. And there's a study that actually shows this really well. In 2019, a group of Harvard researchers published a paper in the proceedings of the National Academy of Sciences of the United States of America, which is a mouthful, so often that is referred to PNAS for short. Yes, most people call it PNAS. And that study was called Measuring Actual Learning versus Feeling of Learning in Response to Being Actively Engaged in the Classroom. They took students and gave them identical course material, but one group got a regular lecture and the other group had to actively work through it. And they found that students in the active classroom learn more, but they feel like they learn less. Not only that, though, it goes beyond that. The students in the lecture felt like their teacher was better and they enjoyed the class more. And the explanation behind this was basically that when something is explained smoothly, it feels like learning. Beginners aren't great at judging how much they actually know, and the struggle that comes from active learning feels like it's not working when really the struggle is what's causing the learning to happen, which is exactly what happened with me and getting Claude to try and help me out. It was smooth, it made sense, and I felt like I was learning when I wasn't. But speaking of Cloud, the study I just talked about was done before AI chatbots were a thing. What happens when you actually hand students one? Well, the team from the University of Pennsylvania ran an experiment with almost 1,000 high schools in Turkey, which was also published in PNA. They split the students into three groups for their math practice sessions. One group got the regular Chat GPT, however you want to use it. Another group got a version set up as a tutor which would give hints but wouldn't hand over the answer. And one group got nothing, just their textbook and notes. And as you'd I guess expect, during practice, the regular Chat GPT group Crushed it. They got 48% more problems right than the kids with no AI. And the ones who had the tutor version did even better, getting 127% than they all took the exam with no AI allowed. And you probably have guessed, the regular Chat GPT group scored 17% worse than the kids who had never had it. And the, I guess, important thing here, maybe, is the ones that had the tutor set up, they only did just as well as those that were in the control group. But here's the part that got me the most from this study is the chat GPT group didn't realize it. They didn't think that they'd done any worse or learned any less. And now you might be listening to me saying all this and go, okay, but Kevin, I'm this is all about high school math. I'm a developer. And I get it. So let's turn our attention to Anthropic, the company that makes Claude, who ran a study on exactly this earlier this year. They took 52 developers who all knew Python already, but had never used a particular library, and they had them build a couple of features with it. Half of them could use an AI assistant and half of them had to write everything themselves, and then they took a quiz on what they just built. The group that had access to AI averaged 50%, and the hand coding group averaged 67%. But the biggest gap of all, which is probably the most important one, was on questions about debugging. Where they said the largest gap in scores between the two groups was on debugging questions, suggesting that the ability to understand when code is incorrect and why it fails may be a particular area of concern if AI impedes coding development. And I think that makes sense because debugging is where you find out if you actually understand the thing or if you just have code that happens to work. Now, one of the things that usually we're told is well, with AI we go faster, but interestingly enough, on this study, the AI group wasn't actually faster. they that says they saved on average about two minutes, but it wasn't statistically significant. So, in other words, they traded learning and they didn't get speed in return. And this is from a study published by one of the AI giants telling us that it's the greatest productivity tool ever, yet we are still seeing a bit of a lack of evidence around that. Now, one thing with all of this, I want be really clear here because I don't think anyone who falls into this is being lazy or is doing something wrong on purpose. It's just really, really easy to slide into this because the answer is right there. Even back in the day, we had Stack Overflow and you copy and pasted stuff from there all the time, right? But even that had a bit of friction built into it. You had to figure out what to search for, you had to find the answer that was close to your problem. You usually had to adopt the code to your own code, and half the time it wouldn't work the first time, and you had to figure out why. So you're doing all of that debugging and all of that other stuff right there. Whereas now it's just a short prompt. And it's done. Then we can read that code, but that's the trap. We look at it and we understand every single line, so we think we know what's going on. But it's just like the kickflip again. Understanding it when you watch it isn't the same as being able to do it. Reading code and understanding it is not the same as being able to write or debug it when it breaks. They're two completely different skill sets. And as I said a little bit earlier, we've known this forever, right? We had tutorial hell, we've known this is a thing. But with AI, it's only reinforcing it even more. And I'm not just talking about code here, but obviously this applies to everything. AI can make study guides and flashcards and podcasts for you. And I think a lot of that is just a waste of time, not to mention resources. And you might be going, well, flashcards are useful. And yeah, retrieval is a really important part of learning, and flashcards are great for that. But making those flashcards yourself is a fantastic extra layer of learning because to make them, you'd have to figure out what's important and fill in all of those gaps in your knowledge and actually know all of the stuff that's going to go on those flashcards. So by the time that you're actually using them, you already understand the topic a lot deeper than you would have if you're just using other flashcards and the knowledge is there and then you're focused on retrieval rather than using the flashcards to be like, I don't actually know that, and then having to learn it more. Of course, making them all is more work, but that's as I've been saying since the beginning is the whole point. But I still haven't answered a question from the very beginning of this video when I said, if AI is bad for learning, what about those studies that I talked about where some students were learning twice as much? And so yeah, the first one we'll talk about is Harvard, who ran a study last year, and this time it was on a physics course where students learned from an AI tutor instead of an active learning class, and the students with the AI tutor learned twice as much and in less time. The World Bank ran a six-week program in Nigeria using an AI tutor after school, and the students made gains equal to roughly two years of typical learning, which is pretty big claim right there. But if we take a look at both of these and look at how they're set up, the Harvard Tutor was custom built for that course. It was designed to walk students through problems step by step and make them do the thinking, not give them the answers. And the Nigeria program had teachers guiding students on how to use it. Even the Turkish math study that we talked about earlier, the tutor version of it, the one that only gave hints, it didn't hurt the students at all. Those students did perform just as well as the ones that didn't have any access to AI at all as well. And in the anthropic study, not everyone who used AI did badly. The developers who did well were the ones who asked more conceptual questions, things like why does this work this way? And then they fixed their own errors themselves. Those people scored about as well as the people who didn't use AI at all, and it was actually one of the faster approaches. So it means that AI with all of this isn't necessarily the problem. It's trying to use it as a shortcut that is the problem. Every time it helped, it was set up to create friction and to make people think. And every time it hurt, it was removing that friction. And I know there will be some pushback. The people who are probably leaving comments like this aren't even watching all the way through to here, but that's completely fine because I do want to talk about this anyway. Of the people who are gonna say, who cares? Because AI is writing the code anyway, so why do I even need to be able to write it myself? I feel like this is similar to the question my kids asked me of, Well, we have a calculator, so why do I need to learn long division? and I get it in a way, but I also don't think it's actually the same thing. And the research that we were just talking about, it all points to why. And that's because a calculator is always right. You don't need to check its work. AI isn't like that. It gets things wrong. And on top of that, of course, it gets things wrong confidently. And what this means is we still need people with strong technical skills. If we just take a look at what happened not too long ago with PHP, I made a video on that talking about the disaster that that was. And there was a ton of comments of people saying, well, just use AI to fix it. The thing is though, the issue is way beyond that though, right? Upgrading from PHP 5 to a stable version isn't a one-shot prompt. It's gonna break things, and if you're running WordPress, you're probably going to need a new theme and a new set of plugins, and it's a huge job. It can be a job that AI helps you with, but it's not one of those just get it to fix it type of things. And in the case of coding, I don't think the job goes away. It Changes instead of writing code, maybe you're reviewing it. I hear that from a lot of people, and not everyone loves that, but it is or definitely is becoming part of it. But if you're reviewing it, it also means you're the one deciding if it's right and if it's accessible and if it's gonna fall apart at different screen sizes and if it's doing something weird, or maybe you see something in the code that is a little bit of a red flag because it works fine now, but you know because you have the technical skills around this, that it's something that will come back to bite you six months from now. And if you remember, if we go back again to that anthropic study, the biggest gap was on debugging, the exact skill you need when the AI code doesn't work. The people who leaned on AI the most were the worst at figuring out what was wrong with the code, and that's the part that Anthropic itself was worried about, because if people are going to be supervising AI, they need the skills to actually catch the mistakes. There was another study from Microsoft and Carnegie Mellon where they surveyed a few hundred people who use AI at work every week. And what they found was that the more people trusted AI, the less they thought critically about what it gave them. And the less confident people were in the task itself, the more likely they were to just accept whatever the AI spat out. And I'm sure you've seen this before in your own things, if you've used it at all, where you find the mistakes in the things that are on the topics you know the best, or might not always be a mistake, but it's like, it's not. Quite right. So those are the ones you push back on. Whereas if you're not an expert in the subject, everything it's doing, it just sounds right. So you just tend to okay, that sounds good and you go with it. And that makes complete sense. If you don't know CSS, how would you know the CSS it gave you is bad? It looks fine, it works on your screen, ship it. So really, I feel like we're actually in the state now where it's the opposite of what people are saying with the whole you don't need to learn it anymore thing. The less the less useful AI actually is because you can't tell good output from bad. The more the more you can get out of it because you know what to ask for and when it's wrong. I also know some people are going to comment, and again, these people probably aren't watching at this point, but they're just gonna say that I'm old and out of touch with the new way of doing things, and that I just need to try the newest models because the they're better than before. I've been hearing that since the very beginning, and I know the models now are really good. I know they can be impressive, and I see their outputs all the time. But I still believe that expertise still matters and will continue to matter. And that means that learning is still important and taking shortcuts to that learning doesn't work. The people getting great results out of these tools aren't the ones who skipped learning the fundamentals. They're the ones who already have them. So if you're trying to learn something new, whether or not you want to use AI, it doesn't really matter, but just try and learn it yourself. Read the docs, build something small, create an ugly demo, hit the wall and struggle. And when you hit the wall, ask why. And if you do decide to turn to AI, ask it why something's not working, not what isn't working. Ask it to explain the concept and not write the code for you. And if it does write something for you, build it yourself again afterwards. Don't just read it and nod along because that's where it feels like you've learned something when you haven't learned anything at all. And I know there's going to be comments again about different ways that people have used AI to help them learn, making it act as a tutor and other things like that. Taking a mess of notes and organizing it. And I do think all of those things are great use cases for it. And that's what the research supports as well. But that's not what's being sold to us. What's being sold to us is learn this in 30 minutes instead of 30 days. And from everything I've read and seen, the 30 days isn't the problem. It's where the learning actually happens and there are no shortcuts. And if you just so happen to want to be learning CSS, I'm gonna say check out my course CSS Demystified, because the whole point of that course isn't to learn about the syntax or anything like that, it's to learn how why CSS works the way it does, you can start working with the browser instead of fighting against it. So the link for that is just down below. And with that, I'm gonna say thank you very much for listening. And of course, until next time, don't forget to make your corner of the internet just a little bit more awesome.