This letter is associated with the following article:
Letters
Thursday, September 14, 2006 12:00 AM

Why Johnny can't code

BASIC used to be on every computer a child touched -- but today there's no easy way for kids to get hooked on programming.

Read other letters about this article

  • Wednesday, September 13, 2006 11:08 PM

    Modern learning methods

    Yeah, I learned on a TRS-80, a C-128D, and finally a PC. But, times have changed and they've done so in many marvelous ways I'll cover in a second.

    But first, remember what BASIC is: Beginners All purpose Symbolic Instruction Code. Comparing it to an expert's language like C++ is at the very least foolishness. It was designed to teach programming.

    And back to modern programming. Most new students learn from something like Visual Basic (GUI-based high-level application development), or by 'modding' their video games (these all run high-level scripting languages, usually imperative and object-oriented), or by acting as a sysadmin for their Linux box, eventually hacking the scripts enough to get the idea. Sadly, that usually ends down a dirty road of Perl and PHP...

    BASIC did let you hack away at a terminal and get output. But that entire model, however simple we may fondly remember it to be, is fairly worthless now. Object Oriented Programming's here for good reason, and students learn programming easer in this way.

    Considering that almost all the apps we run today are event-driven and object oriented, from the desktop to the web, it makes sense to start there. Writing an event handler for a button on a VB form or creating new instances of health kits or weapons in a video game make great entry points into programming --- without the implicit masochism of terminal hacking.

    But if you really want to do it old-school, get Spirit or ANTLR and write your own interpreter.

Most Active Letters Threads

388

A key British official reminds us of the forgotten anthrax attack

A vast array of establishment and expert sources do not believe this episode was really resolved.
208

Is Obama's civil liberties record understandable?

Was it unreasonable to expect him to adhere to his commitments regarding the Constitution?
160

The crazy, irrational beliefs of Muslims

Tom Friedman explains the real problem: stupid Muslims think the U.S. is about war and aggression.
109

How dare you criticize wasteful defense spending!

So you think it's only terrorist-appeasing lefties who are down on Pentagon profligacy? Think again
55

Police to talk to Woods

Early morning crash raises questions, and revives tabloid speculation

View all »

Letters Help

Currently in Salon