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

  • Thursday, September 14, 2006 02:15 PM

    This is just not that hard

    I think our author is creating a problem where none exists.

    If you want kids to learn programming on their own, here are the three rules:

    It's got to be fun

    It's got to be free

    It's got to be easy

    Fortunately, there is a line-oriented programming language that already exists on every home computer on the planet, and it meets all three criteria. It's called Javascript. It runs in your browser. And it teaches everything you would learn from BASIC.

    What, indeed, do you learn from BASIC? Well, you learn about variables, subroutines/functions/methods, and about "if", "for", "while", and "print" commands, and about basic I/O. Javascript, like pretty much all programming languages, has all that.

    Plus it meets the first criteria: It lets you do fun stuff. You can make things happen on web pages, and post them for your friends to see.

    I learned to write code in the '70s in grade school, and my first program was a variation on the old StarTrek game. I spent hours obsessively adding new features to a program that you played on a clackety-clack teletype. No video back then; just paper and ink for output. I would not have done it unless it were just plain fun.

    So don't lament the loss of BASIC; it wouldn't work anyway, because it's just not fun anymore. And don't think for a moment that it is in any way superior to Javascript or a zillion other easily-obtained languages. The concepts are all the same. I'm not worried about the kids.

Most Active Letters Threads

359

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.
188

Is Obama's civil liberties record understandable?

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

How dare you criticize wasteful defense spending!

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

Have yourself a very merry black Friday

The author of "Scroogenomics" explains why holiday shopping is a drain on the wallet and the holiday spirit
46

Police to talk to Woods

Early morning crash raises questions, and revives tabloid speculation

View all »

Letters Help

Currently in Salon