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

  • Friday, October 6, 2006 12:15 PM

    David Brin Responds: Part 2

    4) Many readers are so enthusiastic for PYTHON... and I admit it seems to be the logical successor to BASIC. It allows simple syntax and direct expression of the algorith in sequential lines of code -- which would be highly compatible with the notion of collaborating with schools and textbook publishers. Indeed, an effort along these lines can be seen at: http://www.python.org/doc/essays/cp4e/

    Indeed, Python is so widely available, that the goal might be achieved simply via some kind of DECLARATION... say by a prominent education association... announcing support for a Python-based universal entry-level environment. If well-publicized, that may be all that’s needed for everyone from Microsoft and Apple to textbook publishers to lift their pinkies (a minimal twitch) and make this happen.

    4) In order to keep using those textbooks (like my son’s) that still have TRY IT IN BASIC exercises, one reader had a fantastically simple suggestion. A turn-key web site! “For easy to use BASIC, it occurred to me that someone could set up a web site consisting of a single big BASIC window. Use Ajax to connect it to a server running one of the free BASICs to do the computation. Retain the BASIC session between visits using cookies. This isn't too hard, it could be whipped up in a week or two.”

    (Actually, I seem to be redundant, as #3 appears to fit this bill. Still, others could offer their own versions.)

    An ideal system would feature a good welcome page that gave extremely simple instructions for use, would be tested with some of the more common textbook examples, would link to a LIBRARY of cool games and short demoprograms... with a method for people to inload their own contributions. And it would feature a very easy to use graphics pop-up screen, that shows pixels moving in response to the program. (Something I think would be great. a button that lets you iterate the value of "n" each time you press it, instead of just letting the program zoom ahead. Great for students who want to watch the algorithm gradually change in time. (Later: One online BASIC interpreter that's already running: http://www.pachesoft.com/rockerferbasic/ )) All of this is within easy reach, though it might take a small grant. One result would be instant usability for all of the legacy TRY IT IN BASIC exercises, in ten million texts.

    5) Some of the letters I’ve received pointed out that JAVA is the one language so ubiquitous that maybe it might do. Only, alas, the syntax is so difficult and unfriendly to beginners that it’s just not help, after all. Unless... a coterie of Java guys created some plug-ins and maybe a few dozen sample programs that would accomplish dual goals (1) illustrate something cool from math/physics curricula or a classic game or moving pixels with math and (2) enticed with software elegance.

    Such a set of small programs might entice textbook publishers and teachers, in turn, to go along. And Java’s universal distribution could then do the trick. (And yes, I admit TOTAL ignorance about both Java and Javascript... which are apparently VERY different... which shows how long this road may be.)

    Alas, from the majority of the responses I received, it seems that most of those who already know software have very little sympathy for the difficulties of students and teachers out there, or the need for universality and utter user friendliness. Some see absolutely no problem arising from the fact that nearly all computers today lack a universally accessible beginners’ language. To all of you who took that perspective, all I can say is that I can see you passionately believe in your own favorite language that you want kids to download...

    ...but please ponder; you are ignoring that fact that this only works for the most motivated 10,000. Not for the millions we really want to reach. For them, what has happened is a 21st century betrayal. Nothing less. Quietly, the algorithm has been taken completely away from today’s conputer-user interface, in effect ensuring that our desktops are anything BUT “computers” to kids and other explorers.

    Kids who might have enjoyed and been inspired by some of the fun-with-math-onscreen that we all had, long ago. In another age.

    With cordial regards,

    David Brin

    http://www.davidbrin.com

    PS... Oh, not everybody thinks old BASIC is a lost cause. Dig this letter writer:

    “Today I can code neural networks, plot fractals and beautiful plasmas, solve non-linear differential equations, automate MS Office applications using assembly, C, Visual Basic ... but all only because playing with BASIC made my computing foundation strong. It is the best language for introducing young children to the world of actual computing, and not just using tools created by other people. I have seen many adept programmers who can write object-oriented code but get stuck when asked to swap two values using two variables only. And when I ask them about BASIC, they talk about it as if it was something that used to be used by dinosaurs. “

Most Active Letters Threads

370

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

Is Obama's civil liberties record understandable?

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

How dare you criticize wasteful defense spending!

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

The crazy, irrational beliefs of Muslims

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

Police to talk to Woods

Early morning crash raises questions, and revives tabloid speculation

View all »

Letters Help

Currently in Salon