I covered the Khan Academy’s new interactive programming tutorials for Wired:
Since 2006 the Khan Academy, named for its founder Salman Khan, has provided free video lectures on subjects such as mathematics, biology and history. As we’ve reported before Khan garnered praise from the likes of Bill Gates (whose foundation invested $1.5 million in the site), but other have been more critical of the lecture-driven approach. Thus far the site has only included prerecorded lectures that offered no feedback or interaction.
That’s changing today with Khan Academy’s new computer science section.
The tutorials are interactive and live entirely in the browser. Instead of a video, each lesson contains a pane on the left side for students to enter code and a pane on the right that displays the output. The first lesson walks students through the process of writing code that will draw a face in the right pane. After learning to generate graphics, students work up to animation and eventually to games, such as a Pac-Man clone.
Rather than have students write code and then run it to see if it works, the results of changes are displayed in the right pane immediately, providing immediate feedback. The lessons also include tips for solving common beginner problems.