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 05:27 AM

    Why are you so obsessed with BASIC?

    I too grew up learning BASIC. However, my kids never learned it, and why should they? The concepts in BASIC are four or five generations behind today's methodologies.

    Basic encourages spaghetti style coding, and the need for line numbers is a pain. It was good in the days predating page based text editors, but today line numbers are just a relic of an ancient time. Heck, forget about object orientation. True BASIC doesn’t even have have functional programming or even "top down" design! And, don’t get me started about the variable names.

    If you want to teach a kid to program today, why not use Perl? It’s fast to learn, interpretive, and can be used from quick “guess my number” scripts, to fairly serious client/server programming. I gave my kids the Llama book, and they pretty much took off on their own. Perl for the PC is freely available from ActiveState. If you have a Mac or a Linux system, it’s already on there.

    And, talking about Macs and Linux systems, bring up the ol’ command terminal and teach them a bit of shell scripting. I showed my kids how to write quick scripts to parse a file, rename all the files in a directory, automate backups, etc. Kornshell is pretty powerful, and most systems come with Desktop Kornshell which is a GUI version of Kornshell.

    Of course, what kids really like to do these days is design their own webpages. Two of my sons have learned CSS and HTML, and the middle one has picked up PHP. He’s now coding his own Joomla modules. Not bad for a 15 year old. The older one, however, is more interested in JavaScript (You know, that AJAX stuff).

    Next thing you’ll be whining about how there are no good books on UUCP networking.

Most Active Letters Threads

517

The crazy, irrational beliefs of Muslims

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

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

The face of rotted Washington

Evan Bayh demands more debt-financed war - fought by others - while boasting that he's a stern "deficit hawk."
210

Is Obama's civil liberties record understandable?

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

Bigotry wins in Switzerland

By voting to ban the construction of minarets, Switzerland apes the most extreme intolerance in the Muslim world

View all »

Letters Help

Currently in Salon