• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Idea Galaxy

Adventures in Junior High and Mathematics

  • Home
  • Blog
  • Premium Membership
  • Free Math Mazes
  • Workshops
  • Shop
  • Disclosure

What Hour of Code Taught Me About Teaching Math

Last Modified: May 9, 2019 by Rachel

During the week of December 7-13 classrooms and organizations around the world will be participating in Hour of Code Events, a basic introduction to coding for students of all ages (to be precise ages 4 to 104, according to their website). To date, over 100 Million students have worked on the activities at Hour of Code. This past summer Rachel and I taught a summer program drawing on the resources from this program. I found it personally entrancing- I didn’t want to stop working on my own coding exercises. I was excited to use it with students as an introduction to computer programming and a great way to ramp up the STEM opportunities for students. What I didn’t expect was to learn a great lesson about teaching and learning.How hour of code made me a better math teacher.

Hour of Code in Action

Students jumped right in after a brief introduction to the program. As I watched them get hooked on programming, I couldn’t help but be struck by the learning process students were experiencing. Hour of Code starts with simple tasks for novice programmers to accomplish by entering simple commands. Then, each puzzle gets a bit more complex. Without fail, I watched each new programmer input the code they thought would solve the problem, and then they ran the program only to see their avatar fall into the water, walk into a wall, or retrace its steps repeatedly. When faced with this failure, I watched the students review their code, try something else, and then run the program again. When a program still didn’t work, it was back to reviewing the goal, looking at where the program went wrong, and trying again.

For all the failures I observed over the week, there were very few times that students quit in frustration. Rarely did they skip the puzzle to try something else or step away from the work altogether. And for those few students, they quickly realized that the puzzle was still there, waiting for them to conquer it. They learned that eventually they would have to figure it out in order to move on. Each of them started to problem solve in their own way. Some reviewed the directions or enlisted the help of a peer or teacher who could help them see it a different way. And ultimately they all had the satisfaction of seeing their program finally run just the way they had hoped.

As a teacher, I found myself intervening and giving students specific instruction only a few times. Sometimes a student just had a block they couldn’t get past, so I would give them a little prompt. But when students started asking for help without struggling first, I would direct them back to the program and encourage them just to do their best. I reminded them to run the program, pay attention to what happens, and then make adjustments as needed. Watching students run simulations and make adjustments, I couldn’t help but wish that math instruction looked more like what I saw during the Hour of Code.

My Takeaways

Watching this process made me think about learning in general. A few key takeaways for me were:

  1. All learning involves navigating a new “language”. In this case, they were learning the language of code, but math is just as much of a new language. So is the way we talk as scientists, historians, about literature, etc.
  2. Failure is a natural part of learning to do something new. It needs to be treated as such. Hour of Code was built on providing a low stress environment where students could and would fail as a natural part of the program.
  3. There is value in testing your understandings to see if you are really on the right track. Getting immediate feedback is invaluable. Being able to see if you really “get it” and immediately make adjustments speeds up the learning process and helps catch misconceptions early.

This year I’ve consciously tried to carry those lessons into my work with students. I want them to test their own work, evaluate if they’re on track, and decide how to make adjustments. I don’t want them to wait for me to tell them how and what to do. It’s been helpful to think of learning as more of a laboratory and less of an information distribution center. I hope you all get a chance to check out the amazing resources at Hour of Code. But beware- once you start coding, you may not ever want to stop!

Filed Under: Math Teaching Tips

Primary Sidebar

Welcome to our blog

Welcome to our blog
Join the Maze of the Month Club today and get a FREE math maze every month!
Get out of research mode and into taking action mode with these 5 tips for getting started TODAY on your teacher blog.

Copyright © 2026 · Metro Pro on Genesis Framework · WordPress · Log in

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.

In order to enhance your experience, third parties, including Facebook, may use cookies, web beacons, and other storage technologies to collect or receive information from ideagalaxyteacher.com and elsewhere on the internet and use that information to provide measurement services and target ads. You can opt-out of the collection and use of information for ad targeting on Facebook, or see what information is collected. This information can be viewed in Facebook ads settings, and prefences updated (click the link) at any time Finally, you can opt-out of such cookies here: http://www.aboutads.info/choices and http://www.youronlinechoices.eu/.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT