teaching kids to code: first lesson

May 20, 2009

Last week I taught a 4th/5th grade class an introduction to computer programming. It was chaotic, as such classes sometimes are, but fun. I hear the kids enjoyed it and am planning classs #2 for Friday. I decided to use Shoes which uses the Ruby language and includes some nice graphics and UI primitives (some notes on why).

Here’s a few notes about the experience:

I’m publishing the lesson plans as part of the RailsBridge project “teaching kids” which is just starting up — if anyone is interested in collaborating, let me know or just sign up for the RailsBridge google group and chime in. The worksheets are published on github.

It has been an awesome experience working within the RailsBridge community and the super friendly shoes list. This is stuff I would be doing anyhow, but with a community of collaborators, I feel like the work I am putting in will not only teach and inspire 28 kids in SF, but perhaps spread to other schools and families through the resources that are being published and the excitement generated on the lists.


Comments

David Stamm May 21, 2009

While I was sorry to hear about your configuration issues, this post brought a big smile to my face. I hope we can look forward to more posts about your adventures in teaching.

As a veteran programmer and the parent of a clever little girl, I appreciate all that you and your colleagues are doing in this area. Looking forward to hacking some wee Shoes programs with my daughter when she's a little older!

Sarah May 21, 2009

If you are looking for stuff to do with younger kids, you can check out http://www.flyingpaperclips.com/ which is a catalog of science experiments for first graders (suitable for K-2 and a few for younger or older kids). Young children are natural scientists and encouraging that early is wonderful.

ashbb May 24, 2009

> Kids loved the name “Shoes”
hahaha. Cool!
Great success. Congrats!
I'm really looking forward to read your next adventure report of this project. :-D

Bill Davenport June 23, 2009

Thank you! I'm teaching my 10 year old Ruby and this will be an added surprise to his learning.

I think my daughter will love this too. :-)

Richard Conroy August 3, 2009

Hey great stuff! Been trying to teach my girlfriend ruby, but didn't get far enough with Shoes. She is a teacher (science/physics) and there are some interesting applications for simple GUI coding in a classroom environment.

brahim September 18, 2009

what y retrying is amasing.thanks for sharing.

TScott September 27, 2009

Is there something wrong with the link for Shoes? http://shoooes.net/?

That and the variations I tried did not find anything but footwear sites...

David Lorenz October 1, 2009

I am a lateral entry school teacher acquiring my teaching certificate for High School mathematics. My prior career was a computer programmer for many years.
At what do you think that students will actually be able to code and understand the concepts behind the computer programming? Would coding a game program be a good way to start off?

Brian Morearty January 2, 2011

Sarah, I'm encouraged by reading your story of teaching 4th-5th graders and your other work teaching Ruby to women. Starting yesterday, I'm teaching my 11-year-old daughter how to program. (I taught her rudimentary HTML in the last year.)

I don't plan to use the RailsBridge curriculum--I'm using Chris Pine's "Learn to Program" book instead--but I will incorporate some good ideas you described in this 3-part tale of teaching kids to program. Talking about computer history is a great idea, especially things that were created during the kids' lifetime. Your flashlight demo sounds great as well.

I'll document our progress (mine and hers) on my blog, starting with http://ilikestuffblog.com/2011/01/02/teaching-my-11-year-old-daughter-to-program-in-ruby/

Thanks for the ideas.

Isa March 10, 2011

I'm so jealous of those kids having a "history of computers" class. Back when I was in 5th grade, my teachers were so new to the languages themselves that when there were glitches, our "mission" was to help them reprogram our own computer. Super fun, but we had to reinstall couple of computers. However, I started making a living programming and setting up "older people's" machines by 16.
I'm talking about some 15 years ago, though. It was basic basic Internet, office and QBASIC (yeah... believe it).
Good luck! sounds like you can have a blast with those kids.

Linked from