How can we start teaching computer programming?
Sunday July 2, 2006
Just as the best way to learn problem solving is to solve lots of problems, the best way to learn computer programming is to write lots of computer programs.
Lego, known for durable, educational and entertaining building sets, has created by far the most captivating introduction to computer programming. With LEGO Mindstorms NXT , your kids will learn the basics of programming as they build robots and program them to carry out specific tasks. Even elementary kids are capable of grasping these basics. Older kids still enjoy it, but build more complicated systems.
When your kids are ready to move beyond programming mindstorms, you must first decide what language is best for them to learn and then what might be the best way for them to learn it.
We’ve used several things.
The college board recommends the more traditional approach of learning the Scheme language as a systematic, rigorous approach to computer programming. We worked partway through How to Design Programs: An Introduction to Programming and Computing but did not finish it.
We rarely use textbooks in teaching other subjects and the same is true of computer programming. We prefer using resources which present programming as useful and fun. We have completed two such books: one for learning Python and one for learning Ruby.
Our oldest son learned Python with Python Programming for the Absolute Beginner; here we wrote simple games with the ideas we learned in each chapter.
Two of our kids are learning Ruby using Learn to Program (Pragmatic Programmers).
Our 11 year old daughter especially enjoys modifying programs and quickly seeing the results of her changes.