yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Let's teach kids to code - Mitch Resnick


10m read
·Nov 9, 2024

[Music] [Applause] It was a Saturday afternoon in May, and I suddenly realized that the next day was Mother's Day and I hadn't gotten anything from my mom. So I started thinking about what should I get my mom for Mother's Day. I thought, why don't I make her an interactive Mother's Day card using the Scratch software that had been developing with my research group at the MIT Media Lab?

We developed it so that people could easily create their own interactive stories and games and animations, and then share their creations with one another. So I thought this would be an opportunity to use Scratch to make an interactive card for my mom. Before making my own Mother's Day card, I thought I would take a look at the Scratch website.

Over the last several years, kids around the world, ages eight and up, have shared their projects, and I thought, well, I wonder if of those three million projects, whether anyone else has thought to put up Mother's Day cards. So, in the search box, I typed in "Mother's Day", and I was surprised and delighted to see a list of dozens and dozens of Mother's Day cards that showed up on the Scratch website, many of them just in the past 24 hours by procrastinators just like myself.

So I started taking a look at them. I saw one of them that featured a kitten and her mom wishing her mom Happy Mother's Day, and the creator very considerately offered a replay for her mom. Another one was an interactive project where when you move the mouse over the letters of "Happy Mom Day," it reveals a special Happy Mother's Day slogan. In this one, the creator told a narrative about how she had Googled to find out when Mother's Day was happening, and then once she found out when Mother's Day was happening, she delivered a special Mother's Day greeting of how much she loved her mom.

I really enjoyed looking at these projects and interacting with these projects. In fact, I liked it so much that instead of making my own project, I sent my mom links to about a dozen of these projects, and actually she reacted exactly the way that I hoped that she would. She wrote back to me and she said, "I'm so proud to have a son that created the software that allowed these kids to make Mother's Day cards for their mothers." So my mom was happy, and that made me happy.

But actually, I was even happier for another reason. I was happy because these kids were using Scratch just in the way that we hoped that they would. That as they created their interactive Mother's Day cards, you could see that they were really becoming fluent with new technologies. You know, what do I mean by fluent? I mean that they were able to start expressing themselves and to start expressing their ideas.

You know, when you become fluent with language, it means that you can write an entry in your journal, or tell a joke to someone, or write a letter to a friend. And it's similar with new technologies. By writing and creating these interactive Mother's Day cards, these kids were showing that they were really fluent with new technologies.

Now maybe you won't be so surprised by this because, you know, a lot of times people feel that young people today can do all sorts of things with technology. We all have heard young people referred to as digital natives. But actually, I'm sort of skeptical about this term. I'm not so sure we should be thinking of young people as digital natives. When you really look at it, how is it that young people spend most of their time using new technologies?

You often see them in situations like this or like this. And there's no doubt that young people are very comfortable and familiar browsing, chatting, texting, and gaming. But that doesn't really make you fluent. So young people today have lots of experience and lots of familiarity with interacting with new technologies, but a lot less so of creating with new technologies and expressing themselves with new technologies.

It's almost as if they can read but not write with new technologies. And I'm really interested in seeing how we can help young people become fluent so they can write with new technologies. And that really means that they need to be able to write their own computer programs or code.

So increasingly, people are starting to recognize the importance of learning to code. You know, in recent years, there have been hundreds of new organizations and websites that are helping young people learn to code. You look online, you'll see places like Codecademy, and events like CoderDojo, and sites like Girls Who Code or Black Girls Code. It seems that everybody is getting into the act.

You know, just at the beginning of this year, at the turn of the New Year, New York City Mayor Michael Bloomberg made a New Year's resolution that he was going to learn to code in 2012. A few months later, the country of Estonia decided that all of its first graders should learn to code, and that triggered a debate in the UK about whether all the children there should learn to code.

Now for some of you, when you hear about this, it might seem sort of strange about everybody learning to code when many people think of coding. They think of it as something that only a very narrow subcommunity of people are going to be doing, and they think of coding looking like this.

And in fact, if this is what coding is like, it will only be a narrow subcommunity of people with special mathematical skills and technological backgrounds that can code. But coding doesn't have to be like this. Let me show you about what it's like to code in Scratch.

So in Scratch, to code you just snap blocks together. In this case, you take a move block, snap it into a stack, and those stacks of blocks control the behaviors of the different characters in your game or your story. In this case, controlling the big fish. After you created your program, you can click on share and then share your project with other people so that they can use the project and start working on the project as well.

So of course, making a fish game isn't the only thing you can do with Scratch. Of the millions of projects on the Scratch website, there's everything from animated stories to school science projects to anime soap operas to virtual construction kits to recreations of classic video games to political opinion polls to trigonometry tutorials to interactive artwork, and yes, interactive Mother's Day cards.

So I think there are so many different ways that people can express themselves using this, to be able to take their ideas and share their ideas with the world. And it doesn't just stand on the screen; you can also code to interact with the physical world around you. Here's an example from Hong Kong, where some kids made a game and then built their own physical interface device and had a light sensor.

So the light sensor detects the hole in the board. So as they move the physical saw, the light sensor detects the hole and controls the virtual saw on the screen and saws down the tree. We're going to continue to look at new ways of bringing together the physical world and the virtual world and connecting to the world around us.

This is an example from a new version of Scratch that we'll be releasing in the next few months, and we're looking again to sort of be able to push you in new directions. Here's an example: it uses the webcam, and as I move my hand, I can pop the balloons or I can move the bug. So it's a little bit like Microsoft Kinect, where you interact with gestures in the world.

But instead of just playing someone else's game, you get to create the games. And if you see someone else's game, you can just say "see inside" and can look at the stacks of blocks that control it. So there's a new block that says how much video motion there is, and then if there's so much video motion, it will then tell the balloon to pop.

The same way that this uses the camera to get information into Scratch, you can also use the microphone. Here's an example of a project using the microphone, so I'm going to let all of you control this game using your voices. [Music] So maybe control! [Applause]

As kids are creating projects like this, they're learning to code, but even more importantly, they're coding to learn. Because as they learn to code, it enables them to learn many other things and opens up many new opportunities for learning. Again, it's useful to make an analogy to reading and writing. When you learn to read and write, it opens up opportunities for you to learn so many other things.

When you learn to read, you can then read to learn; it's the same thing with coding. If you learn to code, you can code to learn. Now some of the things you can learn are sort of obvious; you learn more about how computers work, but that's just where it starts. When you learn to code, it opens up for you to learn many other things.

Let me show you an example. Here's another project, and I saw this when I was visiting one of the computer clubhouses. These are after-school learning centers that we help start, that help young people from low-income communities learn to express themselves creatively with new technologies.

When I went to one of the clubhouses a couple of years ago, I saw a 13-year-old boy who was using our Scratch software to create a game somewhat like this one. He was very happy with his game and proud of his game, but also he wanted to do more. He wanted to keep score. This was a game where the big fish eats the little fish, but he wanted to keep score so that each time the big fish eats a little fish, the score would go up and it would keep track.

He didn't know how to do that, so I showed him that in Scratch, you can create something called a variable. I'll call it score, and that creates some new blocks for you, and it also creates a little scoreboard that keeps track of the score. So each time I click on change score, it increments the score.

I showed this to the clubhouse member—let's call him Victor—and Victor, when he saw that this block would let him increment the score, he knew exactly what to do. He took the block and he put it into the program exactly where the big fish eats the little fish. So then each time the big fish eats the little fish, it will increment the score, and the score will go up by one, and it’s in fact working.

He saw this, and he was so excited. He reached his hand out to me and he said, "Thank you, thank you, thank you." What went through my mind was how often is it that teachers are thanked by their students for teaching about variables? It doesn't happen in most classrooms. But that's because in most classrooms, when kids learn about variables, they don't know why they're learning it. It's nothing that really they can make use of.

When you learn ideas like this in Scratch, you can learn it in a way that's really meaningful and motivating for you. You can understand the reason for learning variables, and we see that kids learn it more deeply and learn it better. Victor had, I'm sure, been taught about variables in school, but he really didn't—he wasn't paying attention.

Now we had a reason for learning variables. So when you learn through coding and code to learn, you're learning it in a meaningful context, and that's the best way of learning things. So as kids like Victor are creating projects like this, they're learning important concepts like variables, but that's just the start.

As Victor worked on this project and created the scripts, he was also learning about the process of design—how to start with a glimmer of an idea and turn it into a fully-fledged functioning project. You know, like you see here. So he was learning many different core principles of design, about how to experiment with new ideas, how to take complex ideas and break them down into simpler parts, how to collaborate with other people on your projects, about how to find and fix bugs when things go wrong, how to keep persistent, and to persevere in the face of frustrations when things aren't working well.

Now those are important skills that aren't just relevant for coding; they're relevant for all sorts of different activities. Now who knows if Victor is going to grow up and become a programmer or a professional computer scientist? It's probably not so likely, but regardless of what he does, he'll be able to make use of these design skills that he learned regardless of whether he grows up to be a marketing manager, or a mechanic, or a community organizer. These ideas are useful for everybody.

Again, it's useful to think about this analogy with language. When you become fluent with reading and writing, you know, it's not something that you're doing just to become a professional writer. Very few people will become professional writers, but it's useful for everybody to learn how to read and write. Again, the same thing with coding. Most people won't grow up to become professional computer scientists or programmers, but those skills of thinking creatively, reasoning systematically, and working collaboratively—the skills you develop when you code in Scratch—are things that people can use no matter what they're doing in their work lives.

And it's not just about your work life. Coding can also enable you to express your ideas and feelings in your personal life. Let me end with just one more example. So this is an example that came from after I had sent the Mother's Day cards to my mom. She decided that she wanted to learn Scratch, so she made this project for my birthday and sent me a happy birthday Scratch card.

Now this project is not going to win any prizes for design, and you can rest assured that my 83-year-old mom is not training to become a professional programmer or computer scientist. But working on this project enabled her to make a connection to someone that she cares about, and enabled her to keep on learning new things, and continuing to practice her creativity and developing new ways of expressing herself.

So, you know, as we take a look and we see that Michael Bloomberg is learning to code, all of the children of Estonia learned to code, and even my mom has learned to code, don't you think it's about time that you might be thinking about learning to code? If you're interested in giving it a try, I'd encourage you to go to the Scratch website at scratch.mit.edu and give a try at coding. Thanks very [Applause] much!

More Articles

View All
The Metaverse is a golden opportunity to fix the internet’s mistakes | Matthew Ball
Right now, the Metaverse doesn’t exist. It’s not something that we can go out and experience. We can’t purchase a product. No company is going to reflect “Metaverse revenues” on their income statement. It is an ambition. We, as a society, as people, did n…
Worked example: Calculating equilibrium concentrations from initial concentrations | Khan Academy
For the reaction bromine gas plus chlorine gas goes to BrCl, Kc is equal to 7.0 at 400 Kelvin. If the initial concentration of bromine is 0.60 Molar and the initial concentration of chlorine is also 0.60 Molar, our goal is to calculate the equilibrium con…
Organism growth and the environment | Middle school biology | Khan Academy
Hey, have you ever seen this kind of plant before? It’s called a dandelion. If you live in a tropical climate, it might be unfamiliar, but if you live in a more temperate zone, you’ll probably recognize it, as it’s a very common plant. Dandelions make yel…
Gravity vs. Pressure: The battle that formed the universe - Fabio Pacucci
Welcome one and all! It’s time to grab your seat for the biggest battle in the soon-to-be-formed universe. That’s right—the Big Bang is about to go down! In one corner is the force that brings all matter together. It acts on any particle with mass, and it…
Snow Leopard: Breakdown
Hey guys, this is Mac. It’s one. Sorry about my hair being kind of messed up; I just woke up. But I’m going to make a brief overview video of what’s new in Mac OS 10 Snow Leopard. So first of all, there are two great things right off the bat that will ma…
Investments and retirement unit overview | Teacher Resources | Financial Literacy | Khan Academy
Hello teachers! Welcome to the unit on investments and retirement. As always, I encourage you to go through the unit yourself. If you have limited time, at least go through the exercises and the unit test to refresh both your own understanding of this mat…