So you want to be a coder! These tools can get you there

Today's Best Tech Deals

Picked by PCWorld's Editors

Top Deals On Great Products

Picked by Techconnect's Editors

Coding is powerful magic, and learning to code is like reading a pile of moldy spellbooks while grinding alchemical ingredients into fine powders—at least, it used to be. But new, interactive learning tools put the exercises front and center, promoting you from apprentice to sorcerer at your own pace. Some make you prove that you understand a lesson before letting you move forward, resulting in a more engaging learning experience—and ideally, greater understanding. Not all are for beginners: Experienced coders sometimes need to pick up a new language, too. But they’re all available on the Web, and most are free.

Codecademy: Beginner-friendly learning for free

Codecademy offers a range of browser-based interactive tutorials about CSS, HTML, JavaScript, and more. All of its courses are free. If you want more than just a quick course, you can opt for one of four “tracks” (structured learning pathways spanning several courses).

Codecademy screenshot
An elegant code editor--with syntax highlighting and real-time error checking--occupies most of Codeacademy's interface.

I tested Codecademy with an accessible, sensibly structured beginner-level course called Getting Started With Programming that let me skip ahead when I already knew the material being covered. The site also lets expert programmers create their own courses for teaching aspects of JavaScript, Python, and Ruby, all for free.

Code School: Where video meets code

Unlike Codecademy, Code School charges users a fee of $25 per month—though the site does offer a few free courses, too, including a Git tutorial and a Ruby on Rails programming course called Rails for Zombies (zombies included).

Code School screenshot
With Code School's Git tutorial, you simply type into a virtual console within the browser--no download necessary.

The Git tutorial requires no programming knowledge, and you can complete it in a matter of moments. It requires setting up a real (free) GitHub account, and pushing a repository to that account. Code School’s Git tutorial doesn’t have any videos, but the text is clear, and the design is pleasant and distraction-free.

Rails for Zombies video screenshot
The Rails for Zombies introductory video explains how zombies can help you learn Ruby on Rails. Plus, zombies.

The more-complex Rails for Zombies tutorial includes videos followed by practical exercises. It assumes a higher level of initial knowledge than the tutorials at Codecademy and Rubymonk do, and it doesn’t let you skip ahead: You must complete each level before moving to the next one. You can download the videos and review them as you do the exercises. The course is very fast-paced, and it can become frustrating at times.

The Neo tools: Ruby Koans and Git Immersion

Neo (formerly EdgeCase) offers two free interactive tutorials, one for the Ruby programming language and one for the Git version control system. Like Code School, these tutorials assume that students already possess a bit of coding knowledge.

Ruby Koans screenshot
Unlike real Zen Buddhist koans, Ruby Koans questions have logical solutions.

You can step through Ruby Koans either in a browser or by installing Ruby and downloading the koans. Each koan is a simple drill requiring you to fill in the blanks to get an expected result.

The texts accompanying each exercise attempt to be Zen-like, and they succeed in this to the extent of sometimes being more confusing than helpful: “To understand reality, we must compare our expectations against reality. The answers which you seek: is not true.” Still, if you have some programming background and wish to learn Ruby syntax quickly, the koans can be fun.

Git Immersion screenshot
Git Immersion makes you install Git from the get-go, but it helps you learn a lot.

Neo’s Git tutorial, Git Immersion, is more extensive than the quick Code School alternative, but it also requires more setup. You must install Git on your machine to step through the tutorial, which doesn’t interactively check your work as you step through it.

RubyMonk: For Ruby beginners

RubyMonk is a simple, free Ruby course with built-in code evaluation and exercises. It assumes a modest level of initial knowledge, such as knowing what an array is.

Rubymonk screenshot
RubyMonk isn't as visually polished as Codecademy or Code School, but it has more pizzazz (and Ajax) than does Ruby Koans.

The explanations accompanying each RubyMonk exercise are simple and clear, and the site is free of banners and other distractions from learning.

Snap your fingers and get coding

These tools are just the thing for setting your own pace and learning by doing. Together, they become an entire magical laboratory. Just cruise over to any of the links and start crafting your code. The results can be spellbinding.

Note: When you purchase something after clicking links in our articles, we may earn a small commission. Read our affiliate link policy for more details.
Shop Tech Products at Amazon