Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

David Brin Laments Absence of Programming For Kids

Posted by Zonk on Fri Sep 15, 2006 02:33 PM
from the watch-johnny-run-run-johnny-run dept.
An anonymous reader writes "David Brin is an award-winning science fiction writer who has often written on social issues such as privacy and creativity. Now, he's written an essay for Salon.com titled 'Why Johnny Can't Code'. He discusses his son's years-long effort to find a way to use his math book's BASIC programming examples. All they were ever able to find, however, were either children's versions (on the Mac) or 'advanced' versions which attempted to support modern programming requirements (and which required constant review of the user's manual). Ultimately, they ended-up buying an old Commodore 64 on Ebay — Yes, for those of you under the age of 30, 'personal' computers like the Apple II and C64 used to all include BASIC in their ROMs."
+ -
story

Related Stories

[+] Your Rights Online: David Brin on Privacy 365 comments
David Brin is interviewed and provides some strong words on modern conceptions of privacy and why they're off-base. Brin asserts - and argues well - that a land with little privacy is a freer land.
[+] Slashback: IceWeasel, Online Gambling, GPU Folding, Evolution 214 comments
Slashback tonight brings some clarifications and updates to previous Slashdot stories, including: The facts about Debian Iceweasel; A closer look at Folding@home's GPU client; David Brin's lament; Online gambling ban may violate international law; Human species may do whatnow?; and Another RIAA lawsuit dropped. Read on for details.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • There are options (Score:3, Interesting)

    by mkosmo (768069) * <mkosmo@gmail.com> on Friday September 15 2006, @02:34PM (#16115969) Homepage
    How about QBasic on Win95, MS DOS, etc? My first BASIC programming experiences were on one of those kiddy VTech laptops, then moved to QBasic on Win95. Worked great... simple BASIC, didn't require any special knowledge. In fact, I quite enjoyed it.
    • Re:There are options (Score:4, Interesting)

      by tmasssey (546878) on Friday September 15 2006, @02:38PM (#16116012) Homepage Journal
      Or a C-64 emulator, or GW-BASIC, or VisualBasic or any of a *bunch* of free or open source BASIC interpreters [slashdot.org]...

      This sounds very much made up to write an article.

      Having said that, I have tried to find kid's programming books for my 8-year-old daughter. I started learning computer programming at 8 using my Commodore VIC-20 manual. It had a little cartoon computer character that led you through BASIC programming from the typical 10 PRINT "TIM" 20 GOTO 10 all the way to "advanced" games. As a kid, I absolutely loved it.

      However, I have been able to find *nothing* like that for her... Any thoughts out there?

      • Re: (Score:3, Informative)

        That's how we did it old school. These days kids learn OO concepts with graphical programming environments they don't know are graphical programming environments. Try out Alice [alice.org] by Carnegie Mellon and see how kids (or adults) can create "interactive stories" that a using 3D graphical objects. It's pretty cool. Version 3 (in development) will utilize graphical models from EA's The Sims 2, to allow creation of more realistic stories (see the press release [alice.org]), but even with crude graphics, kids end up learnin
        • Re: (Score:3, Insightful)

          I think the Squeak project is worthy of note for anyone interested in a first programming environment. Start em off right.

          Squeak homepage [squeak.org]

          and the Education focused site [squeakland.org]
          • There also was "Alice", a python / 3d environment to teach kids object oriented coding. Python is of course a perfect first language for *anyone* as well.

            However, its a crying shame that a good solid programming language, perhaps with game making potential or some other hook for kids, isnt included with every copy of windows.

            Oh yeah old school basic for Windows: http://www.nicholson.com/rhn/basic/#5 [nicholson.com]

            Its really really old school however.
    • Welcome back to Slashdot - we missed you yesterday... http://developers.slashdot.org/article.pl?sid=06/0 9/14/0320238 [slashdot.org]
    • Re: (Score:3, Insightful)

      Why basic at all? It's a jumble. How about something clean and elegant? That's right, scheme or lisp.

      Actually I really learned to program on an HP calculator. I had previously done some C, but the simple metaphor of the stack was alluring.

      • Re: (Score:3, Insightful)

        Lisp, Scheme, Python, Perl... anything that'll teach the kid to think and to understand.
          • Re: (Score:3, Insightful)


            Yeah, seriously I'd avoid teaching kids PERL. One problem basic DID have is it taught a few bad habits (Goto's, bad variable nameing , etc). Perl unfortunately in its quest for "More than one way to skin a cat", allows some shocking codeing, and unfortunately my eternal grip with perl, is it begets shocking code. "Hey , you have a language that lets you do cool stuff like closures and stuff (I think?) and you are using fucking $_@ variables and using regex's to traverse DOM trees. STOP PROGRAMMING, YOUR NOT
      • Re: (Score:3, Insightful)

        RTFA - BASIC because it's what was in the textbooks at school.
        There are tons of other languages that could have been used, but each one would have required translating the code in the textbook.
        The artical wasn't about the lack of BASIC per se, but about the lack of support for learning the roots of the higher languages. Everyone says - oh, don't play with that crap - go for the higher languages - Object oriented blah blah blah. The point was that that's not how it should be done. Yeah you can learn the hi
        • Re: (Score:3, Insightful)

          RTFA - BASIC because it's what was in the textbooks at school.

          Isn't, then, the problem with the school purchasing textbooks that were designed for the 1980s?

          The artical wasn't about the lack of BASIC per se, but about the lack of support for learning the roots of the higher languages.

          I'm not sure what you mean by "roots" and "higher". I don't need to learn BASIC to understand the roots of, say, C++. I don't see how learning a modern derivative of Logo (which, along with BASIC, was a common teaching

    • First Big Tits Dupe (Score:5, Interesting)

      by goombah99 (560566) on Friday September 15 2006, @02:55PM (#16116194)
      perl -we 'print "Big Tits" until 1==0' Is the epitomy of every first program.

      Perl seems to fit the bill, since it can be as simple as you want and doesn't even have the type issues Basic has. Perl is happy to be procedural. When you are ready to step up to objectsperl is ready.

      Object oriented perl is a wonderful way to learn objects. Wait don't scream. I said "learn". I'd been object oriented programming for years in Java and other languages. But I truly did not understand how all the pieces worked till I wrote perl objects. In perl it's like one of those "visible man" models. You learn how inheritance works. You learn how binding of an instance to a class works. You understand closures for the first time. You understand how the namespaces are kept separate and how instance memory is allocated. It's not just some voodoo that simply works, like in JAVA. Moreover all of the voodoo is not out of reach but right there for you to mess with. An instance can change it's own inheritance if you want it to. An instance can create a new method and write it into it's own namespace if it wants to. An instance can trap calls to it's own methods and redirect them or intercept calls to methods that don't exist and respond to them.

      Those features are not unique to perl (for example pyhton implements objects identically to perl). The difference is that All of that object management occurs in perl itself and is not hidden behind syntactic sugar (like python and java). You quickly appreciate what dereferencing costs, etc...

      The other thing that is nice about perl for learning is all of those prefixes like $ @, and so forth. They may make perl look like cursing but they force you to think about what a variable is. When I index out an array, I get what? an array? no I get a scalar, so $X[2] is how I index @X. You can look at someones perl program and if it's written well tell what every word is. You cannot look at a bare name in python or java and tell if it's a method, an array, a hash, a scalar or reference. Perl you can. (Oh and by the way let me explode a perl/pyhton myth. python has more special markup characters in use than perl, the main difference is that in python they are suffixes instead of prefixes and are overloaded with multiple meanings--try counting how many modifiers there are some time (e.g. () , [] ** and so on))

      Now once you learn perl objects. Well it's time to put down the perl and back away slowly. Python, java are much better languages for writing re-usable, easily read, complex object oriented programs. Perl is still a much more powerful language than either. But it's powerful for efficiently creating compact or single use programs quickly. Not for well designed complex systems.

      Perl is good language to start in, plus it's useful enough to work throughout your career. Basic is not.

    • Re:There are options (Score:4, Informative)

      by Grayputer (618389) on Friday September 15 2006, @03:08PM (#16116312)
      Those are copyright MS. Try freebasic www.freebasic.net for the 'free' version.
      • Re: (Score:3, Informative)

        I think what Brin wants (and I'm in the same boat though my kids are still just toddlers) is something comparable to learning to write in BLOCK letters, i.e., a temporary stepping stone to more sophisticated methods or languages or cursive writing.

        I think StarLogo TNG's use of drag-and-drop blocks is a pretty interesting approach to exactly this need. The blocks have text which allows them to be read like typed-in code, and colors and shapes that indicate function and syntax.

        • Re:There are options (Score:4, Informative)

          by Cobralisk (666114) on Friday September 15 2006, @07:11PM (#16117974)
          Funny, we had a robotics class for "gifted studends" in my elementary school using some setup called Lego-Logo. It was around 1989-1990. It was like mindstorms. Build a little Lego gizmo, hook up the controllable parts to the computer, and use LOGO to drive it. See this [uchicago.edu] for some info.
  • Oh, man..... Already posted here [slashdot.org] and I even told "Daddypants".

    • And you weren't the only one. I guess a retread from a day ago doesn't constitute a "serious" problem.

  • No sir... REpeat.. [slashdot.org]
  • ... maybe he'd code up a "dupe detector" for the /. editors to use?
  • by Anonymous Coward on Friday September 15 2006, @02:37PM (#16115999)
    I mean, if I had kids, the first thing I'd do is program 'em to get up and get me a beer from the fridge. Good fer nothin' brats.
    • Re: (Score:2, Informative)

      Dude, seriously, why the AC. I was going to mod this +1 Funny as Hell, but I don't spend em on AC's...

      Oh well.

  • Why can't Zonk pay attention?
  • It does afford me the option of wondering "aloud" why Brin didn't just download, say, an Apple ][ or C64 emulator. I mean, I always thought the guy was kind of smart, but now I know it's not true. (And don't tell me that non-computer nerds wouldn't know about emulators; if you don't know, ask someone.
    • by Vellmont (569020) on Friday September 15 2006, @02:46PM (#16116104)
      I thought the same thing.

      The article was interesting, but ultimately the author seemed to be concerned about recreating nostalgia for programming on his 8-bit computer rather than actually wanting kids to know how to program. There's countless examples of programming languages suitable for a kid. Bash, Excel, and Javascript are all pretty simple, don't require complex steps like compiling or memory management, and readily accessible.
        • Re: (Score:3, Interesting)


          But seriously what could a kid do in Excel that would actually hold their interest longer than half a second?

          Write a macro the does all their math homework for them, including showing work? Figure out how long it takes them to save up for a new bike? There's lots of ways a kid could be interested in Excel.
    • Re: (Score:3, Insightful)

      My only complaint about my 64 emulator is the keyboard. The c64 keyboard had some weird keys, and it doesn't map prettily to a modern keyboard. I think a " is shift-2, but I always have to poke around a bit to figure it out.
          • Re: (Score:3, Informative)


            Shift-2 is an @ sign on modern keyboards, while " and ' share a key just left of the enter key.

            Shift-2 is an @ sign on modern American keyboards. On a British keyboard, it's a ".
    • Re: (Score:3, Interesting)

      It does afford me the option of wondering "aloud" why Brin didn't just download, say, an Apple ][ or C64 emulator.

      Even better, find an emulator that runs CP/M which also emulates various types of terminals. One fun thing about computers is making them do fun looking *stuff* like display hacks, moving the cursor, typing backwards, etc. Learn how to control the display by issuing character sequences. Find some books by David Ahl. CP/M had an incredibly rich set of simple tools. Part of the fun is that you hav
      • Re: (Score:3, Insightful)

        Personally, I think the much bigger reason is that our computers do so much more these days. Back when I got my first computer, it didn't really do a lot. Once I beat Crystal Caves and Secret Agent Man, GWBASIC was about the only interesting thing that was left.

        Yeah, I think you've really hit the nail on the head here. Actually you could get BASIC in ROM for the IBM PC-1... but alas, my machine lacked that option, and I ended up scrapping everything but the motherboard which AFAIK is still hanging on a

  • Yes, for those of you under the age of 30, 'personal' computers like the Apple II and C64 used to all include BASIC in their ROMs.

    That must make me... damn, over 30.

    yes, the '80s. This is how most of us used to learn. There were still TRS-80s, Amigas, and ancient XT workstations in some of my friends' homes. I was an Apple ][ kid, myself. I guess I still am.
  • Come on... (Score:4, Insightful)

    by naoursla (99850) on Friday September 15 2006, @02:39PM (#16116031) Homepage Journal
    I know that /. is famous for dupes, but at some point I start thinking the editors are playing a little joke on us.
  • Uh, hello? (Score:3, Insightful)

    by Dachannien (617929) on Friday September 15 2006, @02:40PM (#16116037)
    Why pay for the cow when you can get the emulator [wikipedia.org] for free?
  • Slashdot can post dupe stories about the dearth of programming training opportunities for kids, but they can reject a story I posted about a recent study showing a LACK of programming jobs?

    Why should kids learn programming when they'll only be able to compete for a programming job if they take an East Indian's dollar-a-week salary?
  • Lego Mindstorm? (Score:4, Informative)

    by drewzhrodague (606182) <drew AT zhrodague DOT net> on Friday September 15 2006, @02:40PM (#16116041) Homepage Journal
    What about the Lego Mindsorm? That has a programming language. I'll bet it is way cooler to use a beginners programming language to build robots, than it was to draw boxes, or calculate your homework.

    ...and hold on, now! Where's my damn flying car?
  • Umm... (Score:5, Informative)

    by PFI_Optix (936301) on Friday September 15 2006, @02:41PM (#16116045) Journal
    http://www.kidsprogramminglanguage.com/ [kidsprogra...nguage.com]
  • by DG (989) * on Friday September 15 2006, @02:41PM (#16116050) Homepage Journal
    Personally, having grown up with the C64 and the Apple][ and all the rest... man, I HATED BASIC.

    It was way, way, WAY too limiting and tedious, even for my neophyte 13-year-old self.

    I really didn't discover the joy of programming until I discovered Turbo Pascal. It was like somebody unshackling me - even with the crappy PC XT CGA graphics.

    Pascal is a *great* learning language. It teaches all the good habits that will be needed for a C/C++/Perl hacker later in life, without all the administrivia involved with C, or the sheer horsepower (with all the syntactic complexity) of Perl.

    Go with Pascal as a first language, and you can't go wrong.

    DG
    • by jsebrech (525647) on Friday September 15 2006, @04:27PM (#16116976)
      Personally, having grown up with the C64 and the Apple][ and all the rest... man, I HATED BASIC.

      I started out on a C64/C128 as well. Basic is not a good first language.

      Frankly, if I wanted to teach my child programming, I'd start with javascript. Here's why:
      - It's extremely easy to get started in. You can do a lot with one-liners, and unlike perl you can explain the one-liners to a neophyte. There are many excellent beginner's books.
      - On-screen graphical feedback is instantaneous, and you don't have to restrict yourself to console output.
      - Every single web-enabled PC has the development tools right there. They don't have to do complicated installs, and they can show off their 1337 skills on their friend's computer.
      - And best of all, if you give them a simple hosting account they can place their javascript programs online for all their friends to see.
    • That's a point I hadn't thought to make last time this story came around. I started programming on a Commodore64 when I was 7. Not a prodigy; I programmed about as well as you'd expect a 7 year old to program. Copied short snippets from books and whatnot. By ten, I was using basic programming flow to draw interesting patterns on the screen. At the age of thirteen, I tried my first truly ambitious project: a 'Dragon Warrior'-style RPG.

      It was a catastrophe. When I first started composing this, I was g
  • by Weaselmancer (533834) on Friday September 15 2006, @02:58PM (#16116230)

    Good lord man. Why go through all that trouble? [viceteam.org]

    The article should be called Why Johnny Can't Freaking Use Google.

  • by Nijika (525558) on Friday September 15 2006, @02:59PM (#16116236) Homepage Journal
    He can lament all he wants, the truth of it is the percentage of kids that have access to computers in the first place is much higher, and the number of computer literate kids that will come out of that expore to completely replace and out-do us will also be much higher.

    I don't think the antiquification of DOS, and of all things, BASIC, is going to have some negative effect.

    We'll always have to suffer the hand-wringing from a generation getting older, and I'll always roll my eyes about it.

  • by G4from128k (686170) on Friday September 15 2006, @03:08PM (#16116311)
    I too have lamented the changes in IT. When I first learned to program (1977 on an HP-25), the technical environment was very different. Back then, everyone who wanted to use a computer HAD to know how to program. The scarcity of software meant that everyone wrote their own code or, at least, typed in code from a magazine. Very limited software sharing schemes and the inability to quickly find software meant it was easier to write your own than to find someone else's software. Simple languages, simple hardware, simple interfaces, and simple APIs ruled. When the entire OS plus application suite resided in a few k of RAM, it was easy to both work with the system or create your own. It took very little effort for a novice programmer to produce world-class code because the bar was so low and the functionality so primitive that anyone could make something interesting. In the old days, everyone grew their own code.

    Today it's all different. The OS has become a beast that not even a team of programmers can fully comprehend. IDEs, OOP, and layered architectures try to hide the complexity, but its still there. Moreover, almost any bit of code or application that one might want has a multiple incarnations ready for buying/downloading from commercial/shareware/OSS sources. It's now very easy to find the application you want and much harder to write something that is better than anythign else. In the new days, few grow their own code.

    Perhaps its like the change from a subsistence-agrarian world to a world of craftsmen (or industry) where programming is like farming. In the past, everyone grew their own code. Today, no one grows their own food and farming is a very minor part of the global economy. Farmers may lament that most children in the city don't know how to milk a cow or thresh wheat, but perhaps those skills aren't needed in most people. Just as one farmer can now feed some 40 people, one programmer servers the programming needs of a growing number of users. Consider that Microsoft as 60,000 employees whose code runs on at least 600 million operating PCs -- more than 10,000 non-programming users per programmer.

    As with farming, we now live in a world where few need to grow their own code. As far as schools are concerned we may be entering a world in which fewer than 1 child per class will ever need to know how to program. That makes me sad at some level, I truly enjoyed learning to program, but it may be an inevitable part of the maturation process for IT and the internet.
  • download this.... (Score:3, Informative)

    by scharkalvin (72228) on Friday September 15 2006, @03:16PM (#16116403) Homepage
    http://blassic.org/ [blassic.org]
    • Surely it ought to be:

      10 LET ZONK = 1
      20 LET EDITOR = 1
      30 IF (EDITOR = ZONK) THEN GOSUB 1000
      40 GOTO 30
      1000 REM DUPE POST
      1010 RETURN ... or something similar, unless you're on BBC BASIC [slashdot.org] of course - just about the only 8-bit BASIC with real structure to it

      Simon