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 06:04 AM

    JavaScript BASIC interpreters

    I agree with various letters that BASIC is a terrible language to learn programming from, and no one should be encouraged to do so. But trying out a 5-line math algorithm isn't really "programming," and command-line interpreted BASIC allows a student to get an initial exposure to algorithms with essentially no training. I'm sure some will say that this will poison the student's mind. Actually math algorithms in books are rarely "structured" like a modern computer language but are full of "if a < b, then go to step 7." Look at the classic in the field, Knuth's Art of Computer Programming, for example. BASIC often can let the student see clearly the relationship between the book's algorithm and the code, which might be obscured with a structured, object-oriented language.

    There are simple BASIC interpreters written in JavaScript which you can run in your browser, for simple "Try this in BASIC" problems in textbooks. I don't endorse any specific one, but the first Google hit was http://www.eder.us/projects/jbasic/ and there are probably others. No downloads, no installation - just go to the site and start typing!

Most Active Letters Threads

419

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

Is Obama's civil liberties record understandable?

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

The crazy, irrational beliefs of Muslims

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

How dare you criticize wasteful defense spending!

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

Police to talk to Woods

Early morning crash raises questions, and revives tabloid speculation

View all »

Letters Help

Currently in Salon