Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Programming Education IT Technology

The Little Coder's Predicament 1073

An anonymous reader writes "There's an interesting article on Advogato about the world of computing that kids today find themselves in compared to the world that kids in the 80's found themselves in. Learning to program in the 80's was simpler because the machines were more limited, and generally came with BASIC. Now we have Windows, which typically comes with no built-in programming language. What can be done to improve the situation?"
This discussion has been archived. No new comments can be posted.

The Little Coder's Predicament

Comments Filter:
  • by David E. Smith ( 4570 ) * on Wednesday June 11, 2003 @10:00AM (#6171094)
    First, for those interested in the subject, get them a basic "how to program" book. One that's gotten fairly good reviews among the (few) teachers I know is How To Design Programs [htdp.org]. It has the remarkable benefit of being free (as in beer) online, and I believe its learning environment is equally free also. (OTOH, it's Scheme. Some people are allergic to parentheses.)

    Second, once they've got the basics down, get them something a bit more practical. Cygwin is free, and comes with gcc/gc++ and friends. Or even break down and spend a few bucks on Visual Basic (or, if they're really bright, a second hard drive with Linux/*BSD/whatever, so they can pick up GTK+ or QT or whichever widget set is trendy these days).

    Most of the advogato article's suggestions are at best silly. I think he's promoting the return of LOGO, or whatever that language was where you did everything with a "turtle". Except that e apparently expects Microsoft, Sony, Nintendo, and everyone else to agree on a single standard, which is at best laughable. None of those game consoles even come with a keyboard any more, and I don't think you can even get keyboards for the GameCube...

    • by Dark Paladin ( 116525 ) * <jhummel&johnhummel,net> on Wednesday June 11, 2003 @10:10AM (#6171285) Homepage
      It's the lack of a standard that I think the real problem is.

      A few years back, I remember the rumors of a standard Windows Scripting Language that would be to Windows 9x systems what bat was to DOS. (I haven't power used Windows in years except to run games on, so forgive my ignorance.)

      But the biggest issue with this would be what language? Do you make it uber simple like bat, which could do some interesting scripting things but no real programs? Do you let people actually make up some "interpreted language" programs (like BASIC) so they can do some things, then deal with the headaches from users messing up their systems (or, worse, the viruses that would span if the language actually let you do "stuff" with it - Windows has enough problems with Office macros running amuck in the world without adding more headache).

      And what kind of language? Visual Basic is still around, but I don't know of any serious programmers who really use it hard core - it's more for very small, internal apps (yes, there are visual basic apps out there, but last I checked, nobody's programming Doom III in Visual Basic, move on). So would you build it in C, C++, C#, Java, Perl, Python, Pascal - as soon as you do, there's another group of people (even inside the company making this "Basic scripting language") who have thier own near religious ferver regarding how it should work.

      Odds are, it's just easier to go out, get yourself the Java SDK and notepad/Cygwin and Perl/Python, and go from there.

      Oh, and you can get a keyboard for the Gamecube. I'm not sure if they're selling in the US yet, but they're mainly used for Phantasy Star Online addicts. (Though I would not mind a "Typing of the Dead II" - that game kicked ass.)
      • "Visual Basic is still around, but I don't know of any serious programmers who really use it hard core - it's more for very small, internal apps (yes, there are visual basic apps out there, but last I checked, nobody's programming Doom III in Visual Basic, move on)"

        Wel.. There is this feature rich, stable and FREE CD Burning Software written in Visual Basic 6.

        You can find CDBurner XP here [telia.com]
        VB does have it's uses. No. Nobody's going to write Doom 3 with VB but it's not as limited as people tend to
        • The point of the article is to hilight programming languages and environments that are approachable for kids and can teach some basic logic and simple programming.

          VB would be good for this except for the required overhead (Visual Studio).

          VBScript or PHP scripts fit the bill nicely.

          Expecting a 10 year-old to pick up C++ and start working on the next Doom is ridicuous. Kids want something that is simple, easy to understand, and allows them to create fun applications. They don't want to get mired in the arc
          • by e2d2 ( 115622 ) on Wednesday June 11, 2003 @11:17AM (#6172212)
            Expecting a 10 year-old to pick up C++ and start working on the next Doom is ridicuous. Kids want something that is simple, easy to understand, and allows them to create fun applications. They don't want to get mired in the arcitecture and process and years of time neccessary to write a modern commerical application

            http://turtletracks.sourceforge.net/

            Or any other Logo implementation might do fine for young ones. Nice and easy way to teach logic.

      • by RevAaron ( 125240 ) <revaaron@hotmail. c o m> on Wednesday June 11, 2003 @10:45AM (#6171819) Homepage
        I've never heard about any standard Windows scripting *language,* but there is a standard Windows scripting system, called the Windows Scripting Host, WSH. It's not quite as nice the the Open Scripting Archetecture in Mac OS, but it isn't horrible.

        WSH, like the OSA, is neat in that you can plug-in a number of different languages into it. In some ways, sort of a proto-.NET, as you can share functions between languages. That is, if I write up a function in Perl, I can share it throug the WSH to JScript, VBScript, or any other WSH language. Or vice-versa. PerlScript- the bridge between perl and the WSH- comes with the ActivePerl distro for Windows.

        WSH is a neat toy, and I've used it for some automation on my work windows machine. But having done a lot of AppleScripting on my own and work Macs, I can say that WSH isn't as useful- most apps have no idea was WSH, and the apps which do support it, don't support the wealth of actions like Mac OS's OSA does. Mind you, AppleScript is just one language in the Mac OS OSA, and it happens to be the default one. However, you can get language extensions to script apps- just like you would in AppleScript- for Perl, JavaScript, Ruby and Tcl and more. (that was just off the top of my head)

        Nobody is programming Doom III in anything except C, assembly, and maybe some C++. Does that make every other language irrelevant and worthless? No! I personally couldn't give a flying fuck about Doom III, and thankfully, never have to use C++. I must work on phantom appliacations! OOOOH SPOOKY!

        I can't say I enjoy VB or use it anymore, but even being a staunch Smalltalk programmer, will not hesitate to use RealBasic (with which I can support Mac OS 9, X, and Windows) for an application for which it makes sense. There are a lot of applications out there which are written in VB, a lot more than you seem to think. Not just for very small, internal apps. Heck, a fair amount of people write a bunch of their code in C++, COMize it, then use it all from VB.
    • by Anonymous Coward on Wednesday June 11, 2003 @10:14AM (#6171359)
      Kids don't want a "how to program" book. They want to write small, simple programs that do cool things. Gcc/gc++ and friends? For a 10-year-old? I don't think so.
      What is required is a very simple interface with simple commands. Programming is about Problem Solving (I resisted the urge to put that in caps). It is not about coding style or compilers or interfaces, any more than a sports car is about the CD changer in the trunk.
      Logic is logic. What we need *is* a return to a simple environment for kids. The smart ones will run into restrictions of the environment and branch out into other environments on their own.
      • PHP or VB/ASP are very simple and easy to learn.

        I'd suggest a kid get an inexpensive web account or learn how to install a web server on their computer (such as PWS for Windows). Messing around with server-side scripting is very approachable, and the UI is a webpage, which every kid understands.
        • So is JavaScript. I've had some luck teaching kids to do client-side scripting this way. The language is straight-forward and they can get the immediate gratification of seeing a web page (which you're right - every kid understands) do dynamic things.
        • by tomhudson ( 43916 ) <barbara@hudson.barbara-hudson@com> on Wednesday June 11, 2003 @10:32AM (#6171634) Journal
          Another place to start is with the javascript interpreter available in most browsers. You can run a lot of javascript code locally w/o the need for a server, just make sure everything you need is in the file. Make all sorts of interactive calculators, games, whatever, via javascript/css/the DOM. Easily passed around via email/floppy/printed code listing/cd :-)
          • I completely agree. The learning curve is short. You start by not even programming, but putting HTML together to create your own Geocities page. Then you want rollovers and swipe some JavaScript.

            From there you might move on to Flash, where you've gotta learn their ActionScipt to do anything useful. And Flash is pretty much what the Advogato author was describing, play sounds, move graphics. Only it costs money unless the kid snags it from p2p.

            Better yet, the kid decides that he wants something on the s

      • Except... (Score:5, Insightful)

        by rblancarte ( 213492 ) on Wednesday June 11, 2003 @10:26AM (#6171543) Homepage
        IMHO, I think that kids who want to program will learn to program. I mean, the kids who learned everything about their computer 10 years ago didn't do it because the tools were there. The computer was something that interested them and they soaked up all they could when they could. The same is still true.

        That all said - I agree, some of the beginning tools are not there in the sense that you no longer have DOS with BASIC. But in another way, you have so much more. Now these kids have the internet to get all their tools. This is where I think the author or the article is missing something - free SDKs are being DLed, and the real wiz kids are learning how to program in much more robust languages than BASIC. Because of such, I really don't see a need for Toy Languages.

        RonB
        • Re:Except... (Score:5, Insightful)

          by John_Booty ( 149925 ) <johnbooty@noSpAm.bootyproject.org> on Wednesday June 11, 2003 @10:51AM (#6171900) Homepage
          IMHO, I think that kids who want to program will learn to program. I mean, the kids who learned everything about their computer 10 years ago didn't do it because the tools were there. The computer was something that interested them and they soaked up all they could when they could. The same is still true.

          But how do kids get their interest sparked in the first place? Nothing beats booting up a computer and having a BASIC prompt staring you in the face, daring you to type in your first "10 PRINT 'I AM COOL' / 20 GOTO 10"-type program.

          I always loved computers but who knows if my interest in coding ever would have been sparked if it hadn't been that easy to get started by farting around and making funny little programs like that.

          Why the heck should a kid who's never coded before download a bunch of incredibly obscure (to THEM, not US) crap like Cygwin, etc just to pursue some totally unknown hobby? Some kids will still make this leap of course, but it's going to be LESS people than it would have been had there been a fun, built-in-to-the-OS, totally obvious, free way for kids to get started like you had in the 80's.
          • Re:Except... (Score:4, Interesting)

            by John_Booty ( 149925 ) <johnbooty@noSpAm.bootyproject.org> on Wednesday June 11, 2003 @10:55AM (#6171952) Homepage
            Ideally I'd like to see Microsoft provide a really stripped-down of Visual Basic free with the OS. And it should be installed by default, and placed prominently on the Start Menu.

            This would provide something simple for kids (or newbies of all ages) to start playing around with. I think this would increase the number of kids getting into coding overall... which would help Microsoft as kids would be learning Windows programming early, and with more kids overall discovering coding you'd have more total kids "graduating" to more advanced stuff like real programming languages and alternative OS's like Linux, etc.

            It would be a win/win situation for the advancement of programming, IMHO. Perhaps not a win for ME, though, as I'll have more kids competing for my coding job in the future. That problem is tough enough already. :P
            • Re:Except... (Score:5, Insightful)

              by kisrael ( 134664 ) on Wednesday June 11, 2003 @11:30AM (#6172364) Homepage
              That's a pretty cool idea, and probably one of the few workable ones. I don't see MS doing that, but we can hope.

              It's interesting to think of the history of it:

              Booting into BASIC was a godsend for budding programmers. I really wonder what the lack of that will lead to. (And blah blah blah "BASIC considered harmful"...I think the non-line-numbered versions are fine.)

              I never got to use 'em but I suspect it's too bad HyperCard fell by the wayside. I think that's the closest WIMP-based computers have come to a useful languge that beginners were exposed to and could do useful stuff in.

              These days, most kids will be exposed to the web, and the smart ones will realize "hey--this is pretty easy" and do interesting stuff. That tends to be more design than programming...and server side programming (from a kids point of view) is hampered by the lack of a screen to draw on. I think kids like to make THINGS on a screen, sprites, or 3D if it was easier.

              I think DarkBasic or GameMaker or something like that might be a good bet for grownups who wanted to get a kid started who seems to have potential for this kind of thing.
          • Re:Except... (Score:5, Insightful)

            by anonymous loser ( 58627 ) on Wednesday June 11, 2003 @11:43AM (#6172525)
            I've seen a lot of kids learning to program because they play games on the computer, and want to learn how to make their own. For example, I know several folks whose first exposure to programming was making a mod for UT in UnrealScript. One kid I know even used UnrealScript to do homework assignments for school, until they finally started picking up other languages.
    • From what I have seen of it. i would suggest teaching them ruby. It seems to be a decent language, and has lots of built in types. They used to advertise it as bringing the fun back into programming.
    • Pros:
      • Freely available
      • Often used to teach programming in educational facilities nowadays
      • Has all of the graphical stuff that kids would like

      Cons:

      • Too hard... OOP is too big a learning curve when you just want to write a program that asks for your name and says "Hello, ".
      • API is too rooted in com sci theory, another learning curve...

      I say go with python. I think kids are by nature impatient when it comes to learning something new and they want fast results. Python comes with an interpreter, so you can

      • by 72beetle ( 177347 ) on Wednesday June 11, 2003 @10:59AM (#6171999) Homepage
        Actually, given this scenario of enabling a kid to learn programming, I'd absolutely point them at Java.

        I was one of those kids that learned programming in BASIC on TRS-80's back in the early 80's... and back then the order of the day was procedural programming, so that's the methodology that I learned. Because of my background in procedural, I have never gotten fully comfortable with OOP, and it's been the Achilles' tendon of my career.

        OOP is significantly easier to learn if you don't have to 'unlearn' procedural programming first... so start there with the next generation of programmers. Java's got it's flaws, but for learning Object Oriented Programming, it's the way to go.

        -72
        • by xenocide2 ( 231786 ) on Wednesday June 11, 2003 @12:15PM (#6172902) Homepage
          Java is nice in some ways, but I must disagree that its a learning language. I used to think along the same lines, but careful thought and argument has changed my mind (who would have thought that anyone's mind could change from the internet).

          To begin with, procedural programming isn't diametrically opposed to OO, like many like to imply. OO is, in part, a way to organize those procedures into coherent wholes. I don't think you can write a OO program without knowing how to write a procedure. When I was going through my basic undergraduate programming classes, many fellow students were having problems using iteration to do something to an entire array. Hopefully the foreach concept won't have too high a barrier of entry.

          Now the above understanding is easy enough to rectify without abandoning Java. Simply begin teaching them the basics using the classic "static void main(String[] args)" line. This is the real problem with Java as a learning language: there's a lot that the student must be told to remember but not understand. The meaning of many keywords nessecary to program in Java can be overbearing to teach and mostly serves as a hurdle to student's interests. Exceptions are a nice way of handling errors, but they require a lot of confusing ideas to beginner programmers, like the notion of execution control flow, the activation record, and the keywords throws, try, and catch. There used to be a very classic line in introductory Java texts, for doing standard commandline input. Something like BufferedStream keyboard = new BufferedStream(System.in()). Again most students are just taught 'Just memorize it for now, we'll discuss (or replace) it later.'

          That said, there are worse choices than Java for a language. If you can skirt around the issues I've mentioned above, Java does have many nice benefits. The exceptions have a very handy benefit compared to other compiled languages; rather than get a Segment Fault, you get something like NullPointerException(MyClass.java:40). And of course, the lack of explicit pointers itself is just one less concept you need to teach, especially when you're simply trying to cover the basics that are present in nearly every language in use. The Javadocs are also handy.

          So really it isn't a clear cut yes or no. If the student is dead set on learning to program then perhaps Java is the way to go. But for students on the fringe, every boring hurdle to get something done is another step towards middle management. ;) I guess the real question is, should we cater to (read: dumb down) the fringe?
    • by brlewis ( 214632 ) on Wednesday June 11, 2003 @01:25PM (#6173674) Homepage
      it's Scheme....get them something a bit more practical

      I program professionally in Scheme, you insensitive clod!

      (Seriously, I do.)

  • Um.... Linux? (Score:4, Insightful)

    by ryarger ( 69279 ) on Wednesday June 11, 2003 @10:01AM (#6171102) Homepage
    Free... Multiple free programming languages, includng BASIC... GUI Editors and debuggers... Copious documentation... Responsive community...

    Seems like a no-brainer to me.
  • Wrong (Score:5, Funny)

    by borgdows ( 599861 ) on Wednesday June 11, 2003 @10:01AM (#6171110)
    Now we have Windows, which typically comes with no built-in programming language

    Windows comes with VBScript built-in!

    er..can I really call it a programming language? ;)
  • by Vengeance ( 46019 ) on Wednesday June 11, 2003 @10:02AM (#6171119)
    Let's face it, if you want to develop software, Unix or Linux is a great way to go. The price is right, the technology is current, the compilers are included, and multiple programming languages from lowest to highest level are included/available.

    So if you want your child to have the experience of becoming a techie, it behooves you to have at least one workstation around that can at LEAST dual-boot into a *ix environment, IMHO.
  • by pir8garth ( 674943 ) on Wednesday June 11, 2003 @10:02AM (#6171123)
    When I started programming, I was 8 years old, and worked with what I had available. I made simple GW-BASIC programs and have moved on from there. Maybe OS's should think about the next generation of devlopers and include some sort of learning language to get the kids hooked when they are young. At least they could learn the concepts, and grow up moving on to bigger and better languages as I did...
    • by Lord_Slepnir ( 585350 ) on Wednesday June 11, 2003 @10:14AM (#6171354) Journal
      some sort of learning language to get the kids hooked when they are young.

      The scene: In a park with a lot of little kids around

      (stranger dressed up like Bill Gates in a trenchcoat): Hey kid, I got something for you
      Kid: What
      Stranger: It's the good stuff...(holds out a box labeled 'GW-Basic#'
      Kid: I don't know. My daddy told me that stuff is bad for you...it causes you to get fat and pimply and never get a date
      Stranger: That's a lie! Come on. First taste is free (holds out box further)
      Kid: Well, ok....

    • I was 9 when I started programming, and it was in BASIC on a TI-99, which I'm not certain but I think it was called CRAP-BASIC. Moving to a PC with GW-BASIC was a big upgrade. :)

      Anyway, I do not think that BASIC is a good learning language. BASIC encourages bad programming practices. Not C either, simply because it's got too many loaded guns you have to ensure aren't pointed at your foot. Something like Java, or Python, or whatever where you can learn programming concepts without having to also learn h
      • Anyway, I do not think that BASIC is a good learning language. BASIC encourages bad programming practices.

        While I'm sure Dijkstra would agree with you, I have to say I think this is a myth. I don't think that "bad programming practices" are habits that are difficult to change. I find that usually, as soon as someone is shown a "better" way to do something, they will immediately start using that programming practice and forget all about the way they used to do it.

        I don't think you can throw a 10 or 12 y
    • Pascal (Score:5, Informative)

      by s20451 ( 410424 ) on Wednesday June 11, 2003 @10:32AM (#6171638) Journal
      Whatever happened to pascal?

      Lo these many years ago, when I was in first year, pascal was used as the teaching language in many universities, including mine. It's nice enough as a sandbox language to help you learn good programming habits, yet powerful enough to do non-trivial things.

      In fact you can download a free pascal compiler [freepascal.org] to play around with it.
  • by groman ( 535485 ) <slashdot@carrietech.com> on Wednesday June 11, 2003 @10:02AM (#6171124) Homepage
    What, did you forget about "debug"? Man, kids these days. Go to Start->Run...->"debug". There, learn! :-)
  • by The-Forge ( 84105 ) on Wednesday June 11, 2003 @10:02AM (#6171127)
    Windows does have a built-in language. More precisely, it has 2 of them, VBScript and JScript. They've been included with Windows since Win 2000 and can be downloaded for 95 & 98.
    • Windows does have a built-in language. More precisely, it has 2 of them, VBScript and JScript. They've been included with Windows since Win 2000 and can be downloaded for 95 & 98.

      The .Net Framework (standard on Windows now, use Windows Update if you don't already have it) contains a C# compiler: csc.exe (command line only, no IDE.)
  • by BabyDave ( 575083 ) on Wednesday June 11, 2003 @10:04AM (#6171158)

    No programming language ... or BASIC.

    I won't put in the obligatory Dijkstra quote, because by the time I finish this sentence, about 200 people will have posted it already.

    Oh, what the hell:

    It is practically impossible to teach good programming style to students that have had prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration. -- Dijkstra
    • Oh, that's a great comment, only here is an example for you: I was 12 when my grandmother got me a book on BASIC. I did not have a computer, did not even have access to a computer, but I really liked that book (it was written in a really cool style, it was a kid's story where the reader would have to learn BASIC as the story progressed in order to solve puzzles, and solving puzzles was necessary to understand the story) and I wanted to try programming.

      So I wrote my first programs on paper in BASIC. I tr
    • Dijkstra is a typical programming Nazi. As far as he is concerned there is one way to program and that is that. There are many programming languages and models: Turing machines, assembler, neural networks, Pascal, FORTRAN, BASIC, C++, Smalltalk, FORTH, finite state machines and Haskell among others. Only one of these look like Pascal, and that's Pascal.

      Each of these languages and models has a domain in which it solves a problem well - programmers have to work from systems ranging from multi-CPU servers wi

  • Squeak (Score:5, Informative)

    by nonya ( 65503 ) on Wednesday June 11, 2003 @10:04AM (#6171166)
    Squeak is an nice environment to learn programming. It is highly portable, includes graphics, sound, and a great programming environment. See www.squeak.org for more info.
  • Bah!

    All you people do is whine and whine about languages!

    Back in my day, I had a bunch of OR and NOT gates and some solder. When I was very good, my parents would buy me an AND gate for my birthday. Those were the days.
  • Where to start? (Score:5, Interesting)

    by eli173 ( 125690 ) on Wednesday June 11, 2003 @10:04AM (#6171170)
    Hand them a Knoppix CD and a book on Python.

    Or let them get python for Windows, if you must.
  • Language choices (Score:4, Informative)

    by DJ Rubbie ( 621940 ) on Wednesday June 11, 2003 @10:05AM (#6171192) Homepage Journal
    There is a pascal based language called 'Turing', a language that is taught as part of many entry level computer course in high schools of Canada. There is an OO version called Object Oriented Turing, which does run under Windows. Do note that while those languages are extremely limited (to a point that is painful), I was able to do some amazing games that people stare in amazment at and that actually was the starting point of my coding life.

    Do remember, those that have an interest and initiative will find themselves looking for ways to start coding, such as searching for compilers on Google and go from there.
  • IBM's Robocode (Score:5, Interesting)

    by capedgirardeau ( 531367 ) on Wednesday June 11, 2003 @10:05AM (#6171197)

    There is a neat game that uses java to make robots. Starting very simple, as you learn to program you make more powerful robots to compete against others.

    IBM Robocode Home [ibm.com]

    Covered on slashdot here:
    Robocode Rumble: Tips From the Champs [slashdot.org]

    And here:
    Learning Java Through Violence [slashdot.org]

  • Comment removed (Score:3, Informative)

    by account_deleted ( 4530225 ) on Wednesday June 11, 2003 @10:07AM (#6171223)
    Comment removed based on user account deletion
  • by alek202 ( 462912 ) on Wednesday June 11, 2003 @10:08AM (#6171230) Homepage
    There's a huge difference between these two. Knowing a programming language doesn't inherit that you are able to design applications. I've seen so much spaghetti code in my life, I'm really glad that development (or the ability to feed custom lines of code into your computer) became so "hard".

    Sure, when I used to own a C64, I could code stuff as I wanted it to, and I knew that my code will run on everybody's else C64, too. But today, you have to develop your applications in a team, which has to run on different platforms (even Win2K and Win98 are a difference!), and has generally became very complex. But that's another story.
  • JavaScript (Score:3, Insightful)

    by FTL ( 112112 ) <slashdot&neil,fraser,name> on Wednesday June 11, 2003 @10:08AM (#6171232) Homepage
    > Now we have Windows, which typically comes with no built-in programming language.

    Windows comes with Notepad and IE. Little Coders have access to JavaScript; something that can run circles around the BASIC of old.

  • Java (Score:5, Informative)

    by nate1138 ( 325593 ) on Wednesday June 11, 2003 @10:08AM (#6171239)
    Learning to code is so much easier with a good structured language. Download the JDK from sun (free as in beer). That and a text editor gets you started. If you want a pretty IDE, Eclipse, Forte4J, and Borland jBuilder personal edition are all free downloads, and are fairly full featured. I am teaching my nephew to program using these tools. So far, he is picking it up fairly quickly. For teaching, I think that a strongly typed language makes it easier.
  • by kalidasa ( 577403 ) on Wednesday June 11, 2003 @10:09AM (#6171256) Journal

    OS X

    Learn AppleScript, then Perl, then C (with GCC). All comes on the developer disk, or a free download.

    If you can't get a Mac (and given how cheap the Macs are getting, that's a smaller proportion of the audience), why not start with command line batch programming, then download ActiveState Perl or Python, then learn some Java, then you can decide whether you want to sell your soul to MS and do VBA and VC++, or slap some Linux on that box.

  • Text Adventure Games (Score:5, Interesting)

    by thrillseeker ( 518224 ) on Wednesday June 11, 2003 @10:09AM (#6171261)
    My son has taught himself to program, with only a little guidance from me for learning how to analyze and break a problem into parts, by writing his own text adventure games using a programming language called Inform [inform-fiction.org]. This has worked very well - it allows him to express his creativity in the development of a scenario that requires following explicit rules to succeed, and to develop his programming skills in learning to express an algorithm that follows those rules he's created. The Inform community tends to freely share the text adventures they've written - you know a developing programmer is motivated when he spends time pouring over someone else's not-always-well documented source code.
  • Lego Mindstorms! (Score:4, Insightful)

    by Lars Arvestad ( 5049 ) on Wednesday June 11, 2003 @10:11AM (#6171293) Homepage Journal
    I started programming on a Sinclair Spectrum [icemark.com] as a teenager and that threw me into a life of computing. It was great! I certainly programmed more than I played games on that machine.

    Only a few years back a colleague brought up this very issue, and we agreed that it looked really bad. Apparently, freshmen in college back in the Spectrum days performed better in introductory programming courses.

    However, I think that since then things, or at least opportunities, have improved: I am thinking of Lego Mindstorms [lego.com], perhaps combined with NQC [baumfamily.org], a simple C-like language for Lego's computer brick. This kit is simply marvelous in playability, and had I had that kit as a boy, I am sure that I would have learned programming at least as well as with my Spectrum.

    I don't believe this has improved freshmen's programming abilitites though, but perhaps with time?

    As others have pointed out already, Linux and all its programming environments will probably provide very good starting points these days. I have for instance seen Java introductions that are more accessible than what we had in the early eighties!

  • by NixterAg ( 198468 ) on Wednesday June 11, 2003 @10:11AM (#6171296)
    Although it's not a programming language, I've found that most of the kids getting into programming these days started by making web pages in HTML. As they wanted to do more on the web, they opened up to scripting languages, like JavaScript, VBScript, ASP, PHP, etc. That eventually led them to CGI scripting or writing Java Applets and it has progressed from there.

    Most hardcore types probably cringe at the thought, but web development is really the catalyst into getting many kids interested in programming.
    • by hether ( 101201 ) on Wednesday June 11, 2003 @12:19PM (#6172939)
      I agree 100%. In the begining HTML provides something very tangible - you can see the results as you code. It's fun to play with colors and font sizes, add graphics, etc. fulfilling the need for visuals, but it also teaches you about some of the basics of coding. For instance you learn how to put things in quotes, make sure you're typing things in exactly as required for the tag, etc. You'll learn to look through your code to find out where the errors are, how to FTP, etc. Then once basic pages are up and running perhaps you'll look at other people's pages and wonder how they got those cool drop down menus, or how the form emails comments to the webmaster, pulls things out of a db, etc. and move on to other languages. At least that's what happened to me. I don't really claim to be a "programmer" per say, but from HTML I moved on to server and client side scripting languages, the to using databases, and even took a C++ class at college for fun. HTML was certainly my gateway into programming.
  • by dfinney ( 210092 ) on Wednesday June 11, 2003 @10:11AM (#6171298)
    Most Windows machines have Office installed, which includes Visual Basic. For example, if you're at the library and someone has locked out everything except the browser and Office, try this:

    1. Open an Office app, type alt-F11.

    2. You should be looking at a VB editor. From the menu, select Insert/Module.

    3. Enter this code:

    Sub CmdWin()
    Shell ("cmd.exe")
    End Sub

    4. Click the arrow button. Now you should be looking at a shell window.

    Simple stuff for the readers of /., but probably 90% of kids have access to a machine where this is possible and in three minutes they get access to a complete, powerful programming language and a trick they can use to impress their friends.
  • Neverwinter Nights (Score:5, Insightful)

    by Len ( 89493 ) on Wednesday June 11, 2003 @10:14AM (#6171341)
    Neverwinter Nights [bioware.com] comes with a toolset that includes a compiler for a C-like scripting language. A beginning programmer can write simple programs to create monsters, make them do things, cast magic spells, etc. It's got to be the most fun way to learn programming I've ever seen.
    • by dadragon ( 177695 )
      Or, Quake-C from back in the day.

      I remember hearing from a friend of mine a long time ago that Quake II uses "some modified form of Quake-C for scripting", so I thought I'd check it out. Turns out that it was just C++ :)
  • Try Python (Score:5, Informative)

    by Default ( 123942 ) on Wednesday June 11, 2003 @10:16AM (#6171381)
    Figuring out where to start in programming is alot more difficult now than it was in the '80 due to the explosion in programming choices available (Java, C, C++, vc.net, vb.net, ...). Tools may be better (vis. Visual Studio, Eclipse, etc.) but the learning curve for a new programmer to get a "hello world" program running on most platforms is steep to say the least.

    I've just picked up Python and after coding in C, C++, and Java it's like a breath of fresh air. No haggling with the compiler over types, simple intuitive syntax and a very helpful interpreter that let's you test code on the fly.

    Python is also free, runs on many platforms, has a huge range of modules to choose from and for a beginning programmer it's coding style is very clear (unlike perl).

    New programmers can start by defining functions and then explore OO concepts as they gain confidence.
    I would recommend "Learning Python" by Mark Lutz as a great starting reference.
    • Re:Try Python (Score:3, Insightful)

      Agreed. Though I suggested Perl, but then I would.

      The important thing as you imply, is that both these languages you can just pick up and go with. You don't have to worry about 'int main(char argc char[][] argv)' and all that...the kid can just start up straight away.

      Oh...you missed out 'powerful' when listing python's good points. I remember BASIC - I could make the screen draw a pretty picture. Python is powerful enough to produce something like bittorrent.

      Hey, today's kids have it made!

  • Java (Score:5, Informative)

    by Glock27 ( 446276 ) on Wednesday June 11, 2003 @10:16AM (#6171389)
    Java provides some nice solutions. I'd most likely start with one of the Logo implementations [thinkquest.org] (this one has a nice tutorial on it's website). Once the child reached the point of handling a full programming language (probably 10 or 11 for a bright one), I'd introduce the JDK and emacs/jedit (in order to have the simplest possible environment). This would also be the time to begin teaching formal programming concepts like algorithms and data structures. I'm sure the child would pick up other languages (Python/Jython, etc.) beyond this point, and also one of the free IDEs like Eclipse [eclipse.org] or NetBeans [netbeans.org].

    By sticking to Java the child will tend to learn clean programming design and algorithms, rather than wild pointer debugging tricks (also the case with BASIC I might add). As an added bonus the child will be learning one of the most commercially viable languages, and one with a lnog lifetime ahead of it IMO. I'd also begin exposure to SQL (MySQL or Postgres) when you felt the child was up to the added complexity and workload. Up to this point the cost has been $0.

    Once the child (now 14 or 15 I'm sure;) was proficient coding in Java, I'd suggest exploring C, assembler, drivers and low-level machine architecture. Within a couple of years any CS program in the country should be easy pickings.

    • Re:Java (Score:5, Funny)

      by Jester99 ( 23135 ) on Wednesday June 11, 2003 @11:04AM (#6172054) Homepage
      I'd introduce... emacs (in order to have the simplest possible environment)

      Hmm. You're one of those people to whom the dashboard of a 747 is "simple," aren't you. :)

      "Daddy? How do I compile?"

      *sigh* For the last time, Bob, M-L, M-X, C-M-K, "make", esc-esc-return...

  • Delphi Anyone? (Score:3, Informative)

    by sapgau ( 413511 ) on Wednesday June 11, 2003 @10:17AM (#6171394) Journal
    What's wrong with Delphi?
    It has the modularity, strong type checking and simple sintax to help you start learning.

    I beleive you could download version 1 (16 bit?) for free - but Im not sure.

    Just my $0.02
  • Python (Score:5, Interesting)

    by Dot.Com.CEO ( 624226 ) * on Wednesday June 11, 2003 @10:19AM (#6171436)
    And the reason is that it forces no bad habbits on people. It is well structured, it can be read easily, is truly multi-platform and is free. The Windows port is very good and allows access to Windows Widgets with a minimum of trouble.

    As easy to learn, but not that strong on the "bad habbits forming" part is Visual Basic. It follows a completely different programming model to "normal" newbie languages but it is much more "goal-oriented" than most beginner languages. It is also easier to produce impressive results with it, and, frankly, the VB (and Visual Studio) IDE is as good as they get.

    • Re:Python (Score:3, Interesting)

      by leoboiko ( 462141 )
      I'd add two points:a large amount of useful libraries, and good "non-programmer tutorials" - including a free book [ibiblio.org].

      I learned to program with Python in a Windows environment. Three years later I'm a CS student and I use GNU/Linux and BSD exclusively. Advocate Python to your newbies!
    • Re:Python (Score:5, Interesting)

      by Electrum ( 94638 ) <david@acz.org> on Wednesday June 11, 2003 @11:38AM (#6172467) Homepage
      The Windows port is very good and allows access to Windows Widgets with a minimum of trouble.

      Pygame [pygame.org] is even better. When I was a kid, I started programming because I wanted to make games. Pygame gives them everything they need to make games. I also recommend this book [amazon.com] as an excellent introduction to Python.
  • duh linux (Score:3, Insightful)

    by bloosqr ( 33593 ) on Wednesday June 11, 2003 @10:20AM (#6171450) Homepage
    This is exactly why linux is huge. Its the
    perfect development environment for anyone. Want to learn c/c++/java/perl/python/visual python? Want to run servers? Learn sockets? Maintain a website? And irc server? opengl to emulate your fave 3D gamer heros? Its all free for linux! Incidentally, I wouldnt be surprised if at some point microsoft just gives away its development environment because as everyone knows "what the kids program on" is what will be huge in 5 years. That said at the elementary school level
    you probably want to code using something like "turtle on", "turtle off" logo [sourceforge.net] which is also free (GPL) for linux. Ahh those Apple II logo days :)

    -bloo
  • Squeak (Score:5, Informative)

    by fizbin ( 2046 ) <martin@snoFORTRA ... g minus language> on Wednesday June 11, 2003 @10:20AM (#6171460) Homepage
    Squeak [squeak.org] is a cross-platform implementation of smalltalk that has developed quite the little community [squeakland.org] of educators and students around it. It allows budding programmers to start on a very basic level - something reminiscent of hypercard - but underneath it all is a real language that allows all the power and syntax you might want. As soon as you're ready, the power is there.

    The scheme environment bundled with How To Design Programs [htdp.org] has a similar goal of allowing the student to gradually ramp up the complexity of the language, but I find their rigid levels confining. Also, the programs a beginning programmer is able to put together are nowhere near as satisfying visually as what a new squeak user can build. (These kids today - in my day, we had either text or 40 by 40 graphics and we liked it.) That said, the htdp scheme environment may be more appropriate for a structured classroom environment with a series of lessons.

    My only complaint about squeak is the license (despite claims on squeak.org, it's not really an open source license because of the fonts it includes); however, it is free-as-in-beer and has been already been used in elementary and middle school classrooms for both teacher- and student-created projects. (See squeakland)
  • I face this problem. (Score:5, Interesting)

    by jdclucidly ( 520630 ) on Wednesday June 11, 2003 @10:21AM (#6171470) Homepage
    At age nine is started messing around with QBASIC. Windows 3.1 had just come out and wasn't yet ubiquitous. I became quite proficient with BASIC, eventually, but by the time I had, the GUI extravaganza had begun. I was downloading and playing games for which I hadn't the slightest clue how a programmer might begin to implement such things. At some point, faced with the prospect of not being able to accomplish anything 'useful' with QBASIC, I stopped programming altogether.

    I'm twenty one now and the itch to get back in to programming has been bugging me quite a bit. Now that I'm using Linux for pretty much everything -- and because Linux encourages tinkering -- I've found that scripting (Perl, Python, Ruby) languages (not THAT unlike BASIC) are the perfect place to start to refamiliarize myself with data structures and general programming concepts. The clentcher is of course that the CLI is once again useful and the programs I write can actually do something.

    Namely, I've found Ruby to a great place to get started since I'm just beginning. Because Ruby is completely object orriented, it hasn't required a whole lot of reforming of the way I think about data -- everything is either a noun or a verb; an object or method. Just like the real world. After just two weeks of studying the freely available Ruby books online, I've been able to begin accomplishing basic system administration tasks. My passion for manipulating logic system is returning and I have some great ideas about what I can accomplish with it.

    Sure, some day I'll probably have to pick up Java or (shudder) C++, but for now, scripting languages are the perfect entry method.
  • by schon ( 31600 ) on Wednesday June 11, 2003 @10:21AM (#6171474)
    The people saying "just use Linux/FreeBSD/OtherOSS" are missing the point..

    The problem isn't that Windows doesn't come with a programming language, but that there is no "learning system" in place..

    I grew up in the 80's, and I learned to program first with my Vic-20, then with the C64..

    I learned by typing in programs found in Compute! magazine and Compute!'s Gazette..

    Such an environment simply doesn't exist today - even with Linux or FreeBSD (or how about Java if you don't want to learn a new OS?) the internet makes it harder to get into.. Instead of spending time typing the code in, you just download it.. sure, you can read it if you want, but reading about something is not the same as doing it - you don't get the same experience out of it.

    Physically, programming is typing stuff, but with the internet, there's no incentive to actually do it - and like most other animals, people are (by nature) lazy.. so even if they have the drive to learn, they might not have the drive to actually do the work.

    I tried using Robocode [ibm.com] to teach my nephew how to code, but it's just not the same thing - he wanted to learn to program (still does, actually) but he gave up after just playing with it for awhile.. typing into a computer to get it to do something was just too foreign to him.
  • by duffbeer703 ( 177751 ) on Wednesday June 11, 2003 @10:22AM (#6171477)
    The answer is Linux!

    Make sure to impress on the children that SCO is bad at an early age too!
  • My heart bleeds (Score:3, Insightful)

    by pete-classic ( 75983 ) <hutnick@gmail.com> on Wednesday June 11, 2003 @10:24AM (#6171516) Homepage Journal
    OMG.

    Today: The freaking Internet, computers all over the place at home and school. Free UNIX clones. Perl, Java, C, C++ all for free.

    When I was a kid: Just enough computers at school to cause fist-fights over them. Applesoft BASIC (somebody shoot me). DOS on a "good" day. I never had access to BBSes. (Dad had the only modem, and he sure wasn't letting me use it.)

    Oh, and as a bonus, there was no dotcom-Matrix Geek Sheik. I'm sure school is still tough on geeky kids, but in the post-dotcom age of ubiquitous computing (and damn near ubiquitous Internet access) I find it hard to pity today's geeklings.

    -Peter
  • by Snaffler ( 311068 ) on Wednesday June 11, 2003 @10:27AM (#6171560)
    When he turned 13, I gave him an old 486, a manual on BASIC, and told him how to find it on the windows directory. Didn't do anything else other than type up a few lines of simple code. Natural curiosity took over. Soon he was writing complicated and lengthy RPGs, similar to what came out in the '80s. Next summer I gave him an old C++ book some visual basic stuff, and some disks. The next summer Java. And now he is going to be applying to a college that offers computer science in the fall. He codes in his sleep now. Oh, this summer's project is to take some boxes, some Linux disks, and make a web server, firewall, and Linux server.

    My thought is that if the kid has the normal curiosity then just give them the tools and they will figure it out. There are plenty of old books and software available on Ebay and used book stores.
  • by Jeremy Erwin ( 2054 ) on Wednesday June 11, 2003 @10:29AM (#6171584) Journal
    As a mac user, I feel compelled to bring up Cocoa-- which comes free (or close to free) with any MacOSX package. It's got very little learning curve, there's a strong visual programming element to it (although, if need be, you can replace most of that with setAction:/setTarget: messages.)
  • by Kevin Stevens ( 227724 ) <kevstev@@@gmail...com> on Wednesday June 11, 2003 @10:30AM (#6171601)
    I know VB is not the way to go for serious programming, but neither is basic. And you know what will turn off kids or even hardware enthusiasts that wannabe programmers most? Typing in a hello world program in C or C++ or whatever, and having it output in a fugly console window. There is no sense of accomplishment in that. Back in 1980, that was pretty cool. in 1990, that was acceptable. But if you want to ignite a spark in someone, that is not going to cut it today. There are free "Student" versions of VB that MS gives away, that doesnt allow you to make a .exe out of your program, you can just compile/run it on the fly from within the program. And if someone really wants to make an .exe out of it, they can acquire VS (acquire being a nice generic term). Playing with the gui window designer, and then putting code behind those buttons and text boxes will make the aspiring programmer feel like he is doing something cool, and then hopefully send him onto bigger and better things, and eventually different languages platfroms. typing gcc helloworld.cpp -o helloworld, and then having it print out "hello world" in a console box is NOT going to cut it. The goal is not to start out making them serious developers, the goal is to get them interested in programming so they want to become serious developers, and MS/VB perform that function well. You can write many cool applications in VB without alot of effort.
    The only other alternative I can think of is a web based technology like ASP/JSP/PHP, but due to the fact that is difficult to get a decent host for a website on a budget of zero dollars that your friends can go to and say "cool!", I think that those technologies lose their novelty really fast. Plus the bar to entry is a little higher, since you have to understand the relationship between the pages and the webserver, as well as configure things correctly, which VB does not require. Apache/IIS can be a little intimidating at fist and after seeking help and getting a load of RTFM responses, said wannabe programmer will quickly give up and just go back to playing PS2.
  • since there was little budget for big iron we did lots with Linux (web pages, mail server, ftp server, dhcp, even a commercial student database called Schoolmaster) and the Library teacher told me about a young kid (then in the 7th grade) whose family couldn't get him a computer of his own. I took a 486/120 and installed Linux with no gui on it and we allowed kids to check it out like a library book. I included just the basics to get on... how to login, how to use Lynx, where to find more information, the "man" pages, etc.

    As far as I know this 7th grader was the only student who checked out the box. I got a few questions relayed to me by the library teacher and answered them. I lost track of him until my son told me that he turned up at a County Fair at the "internet cafe" my son was running and he was heavily into Llinux!

    Last month my contact at the school district told me that the kid, now a junior in HS, is planning a senior project: a Beowolf cluster! He is now trying to round up a few dozen machines to use in his cluster.

    This is a small school system in a farming community and turns out only one really good natural engineer/computer scientist every 4 or 5 years but I like to think that my idea of creating a "library book" computer using Linux helped turn out this one.
  • Game Maker (Score:4, Interesting)

    by httptech ( 5553 ) on Wednesday June 11, 2003 @10:35AM (#6171680) Homepage
    There is an excellent freeware program for Windows called Game Maker which allows you to create simple to sophisticated 2-D arcade/rpg style games through a drag-and-drop interface. My 9 year old enjoys creating the games this way, but the beauty is in the built-in scripting language. When he can't accomplish what he wants using drag-and-drop, I teach him how to insert a snippet of code into the game objects to get the results he wants. Little by little, he learns to program this way.

    Game Maker URL: http://www.cs.uu.nl/people/markov/gmaker/ [cs.uu.nl]

  • Python (Score:3, Insightful)

    by Phantasmo ( 586700 ) on Wednesday June 11, 2003 @10:37AM (#6171703)
    Python is easy to learn, Free, free, fast and portable, but most importantly it's interpreted.

    When I was growing up (and using BASIC on the C64) I loved that I could enter a line of code and see the results immediately. It encourages a lot more experimentation as you can effortlessly try anything, be it interactively before you even start writing to test out a concept, or in the middle of executing your program.
  • by tmoertel ( 38456 ) on Wednesday June 11, 2003 @10:37AM (#6171712) Homepage Journal
    The vast computing resources that children have today are both a curse and a blessing. The curse is that there is so much more complexity for today's children to grapple with than we had when we were learning to write software. But, the blessing is that today's children have vast computing resources at their disposal, resources that we could scarcely dream about.

    I think we ought to harness those resources. We ought to use them to teach children those languages that are immensely powerful yet, judged by our standards, too inefficient to be practical. In particular, I'm referring to functional programming languages like Scheme and Haskell [haskell.org].

    Now, hear me out.

    Why functional programming languages? Because they lend themselves to extremely powerful, mathematical ways of thinking about and solving problems. Learning these ways of thinking when young will benefit our children for the rest of their lives. For example, take a look at the The TeachScheme! Project [teach-scheme.org]. I wish something like that was available when I was in High School.

    Let us not teach our children the technologies of today but of tomorrow. More and more, I am convinced that functional programming, once considered too computationally inefficient for industry work, will be tomorrow's dominant programming paradigm. No other way of programming so readily lends itself to the formalism that is necessary to manage the ever-increasing complexity of modern software projects.

    So, let us give our children the tools they will need to solve the problems of their day. Teach them functional programming.

  • I started programming our C=64 the day after my dad brought it home. I was in third grade and I taught myself Basic. My little brother and I wrote all sorts of games and made our own animated cartoons using that computer. I wish someone would make a cheap C=64 (hardware, not emmulator) so I could let my kids have a crack at it as well.

    Anyhow, back to the present...

    Some kid found my 3D asteriods game on the internet and asked me if I could teach him how to program. Note that he lives in another state, and I've never met him in person.

    He was 12 at the time and struck me as being bright. I had him download the free Java stuff from Sun and we developed a video game applet together. We discussed what kind of game to make, how it would work, and the logic behind it. We decided on a simple game and then added features as we went along, rather than trying to implement his initial vision all at once. This let him see that progress was being made.

    We didn't get into any OO stuff. In fact the structure of the game is more similar to C than to traditional Java code, but it was stuff he could understand. He wrote some of it and modified much of what I wrote.

    You can check out the result here [angelfire.com]

    Here is what I learned from the project:

    • Free (as in beer) development kits are nice. The kid didn't have money to buy Visual Studio.
    • Free documentation is important as well. Sun has some nice stuff on the web and there are lots of java game tutorials out there.
    • AIM is incredibly useful for something like this.
    • The web is a great tool for letting kids share their accomplishments with others. This kid gave the URL to others at his Jr. High and they could see the game he made.
    • This sort of thing take a long time and lots of patience, especially remotely. It would be nice to have been able to have worked in the same room on occasion.
  • by KC7GR ( 473279 ) on Wednesday June 11, 2003 @11:10AM (#6172133) Homepage Journal
    Remind the kids that they need to look at what device, system, or application they'll be writing code for before they even think of sitting down at the code editor. Make sure they know that PCs and Windows are NOT the Answer to Everything, and work accordingly.

    One of the things I hated most about the (required for my A.A.S. degree) programming course I took at the local community college was its focus on games. I have ZERO use for game coding in an electronics environment.

    Said course would have been far more valuable to me if they had chosen a specific application pertinent to the Electronics Technology major I was carrying (perhaps an introduction to programming the PIC microcontrollers, or 68xxx assembler), and coded for that.

    To delve a little further into that line of thought: You don't need Visual Basic or Visual C++ to code a PIC to be, say, an electronic lock or programmable frequency divider. What you do need is a stable development platform, a good feel for simple BASIC, and some idea of how the software you're writing is going to interact with the hardware involved.

    On the other wing, you don't usually (that I know of) need to delve into the details of assembly language if you're going to be writing (here we go) a game, or a spreadsheet app, or some similar program that is intended mainly to interact with the user as opposed to running a dedicated function in an embedded device.

    No one can be an expert in all programming forms and languages. There's just too much Out There. Help new students to make intelligent choices about what, exactly, they're trying to code for, teach them good ground rules about coding in general, and the rest should follow on its own.

  • by Alioth ( 221270 ) <no@spam> on Wednesday June 11, 2003 @11:15AM (#6172198) Journal
    When I started, it was with the Sinclair ZX-81 I had as a Christmas present.

    Today, I don't think it's necessarily the lack of built-in languages (as others have pointed out - most OSes come with a language of some sort) but a lack of where-to-get-started.

    The great thing about the ZX-81 is that it came with a manual. Not like a PC manual of today which tells you how to plug in the keyboard and monitor (the ZX-81 manual had this) - the ZX-81 manual also had instructions on programming things - from the basics of programming onwards. It taught you what variables were, what loops were, what if statements did. You got a starting point with the computer as soon as you unpacked it and plugged it in for the first time.

    The BBC Microcomputer was the best - it had a built in 6502 assembler. (I also learned Z80 for the Spectrum I had after the ZX-81). Knowing asm made it a lot easier to learn C, especially pointers (which I've noticed time and time again newbies always struggle with).
  • by Cereal Box ( 4286 ) on Wednesday June 11, 2003 @11:25AM (#6172301)
    I can't believe some of you are suggesting that an 8-10 year old child should be introduced to programming by way of C, C++, or Java. Are you kidding? Perhaps you've forgotten what it meant to be NEW to programming and don't realize that children are going to approach programming in a different way than a veteran will.

    You've got to think about what's going to make sense for a kid. When I was a kid, if I wanted to print "Hello, world!" to the screen I typed in 'print "Hello, world!"'. That makes sense. Do you honestly think a kid just starting out is going to know what all the extra crap he has to declare just to print something in Java means? What the hell do you think "public static void main" means to a kid? How is he supposed to understand that if he wants to "print" he has to use System.out.println? Furthermore, is a kid just starting out supposed to know what static typing is? Give them a language where they can just declare variables. At least that way they can draw a simple parallel to pre-algebra (children understand "x = 5" in math class... they don't have to say "int x = 5" in a math problem, so why would it make sense right off the bat to do so in a computer program)? Do you think children are going to understand even the basic concepts of OO programming? There are undergrads in colleges across the world who are having a tough enough time with that.

    I'm going to recommend Python. It's the modern-day QBasic (not meant in a bad way... Python is very powerful, I mean that it can boil programming down the essentials for novices in much the same way that QBasic did). No static typing, simple syntax, and you can program interactively. It's definitely the best thing going for introducting children to programming today.
  • PHP (Score:3, Insightful)

    by StormReaver ( 59959 ) on Wednesday June 11, 2003 @12:33PM (#6173091)
    I'd recommend PHP as an introductory language. It's freely available, is easily installable if you don't already have it (for Linux and Windows, and perhaps the Mac), gives the newbie immediate feedback, on Linux has a command line interpreter that doesn't require a web server (or anything else for that matter), has very simple syntax, and is an exceptionally easy language to grasp. It's the next best thing to the 80s when all home computers came with BASIC in the ROM.

  • Perl (Score:3, Funny)

    by pergamon ( 4359 ) on Wednesday June 11, 2003 @12:50PM (#6173292) Homepage
    Introducing programming to a kid with Perl would have to qualify as child abuse.

    [That being said, I use Perl wherever possible ;)]
  • by chiller2 ( 35804 ) on Wednesday June 11, 2003 @01:54PM (#6173924) Homepage
    My experience - early 80s home computing in the UK
    ---
    Back in '83 my father bought the family a BBC B [1], and not long after playing the bundled games thoroughly I found the User Guide, tried out the teletext examples to do double height text, the moving man vdu23 example, and didn't stop until I got to the end. It was a wonderful learning experience..

    Switch the Beeb on...
    *blur*beep*
    BBC Computer 32k

    Basic

    > 10 PRINT "Ooh look a programming language"
    > 20 PRINT "that is right there at power up"
    > 30 PRINT "and easy enough for a preteen"
    > 40 GOTO 10
    > RUN

    From that prompt BBC BASIC was right there available to you from power up. Want to draw a triangle - plot 85.. play a middle C note - SOUND 1,-15,53,5. Now is that or talking to DirectX via C/C++/VB/Delphi/etc easier for a child?

    Along with the Beeb, plenty other 8 bit machines also provided a simple to use programming environment right there by default at power up. No extras to have to buy, no alternative OS's to install, and what plenty of people who've posted here seem to be completely forgetting - a learning curve suitable for a pre-teen.

    Nowadays
    ---
    I think the article is spot on. A child who sits down at an out of the box Windows PC can do nothing more than play Solitaire. Sure there is plenty that can be done if you know about it. This requires purchase of $50+ books, programming languages, or knowledge to wipe the system and install some Unix variant with an oss compiler, etc. These are out of reach for a child. Even if a knowing parent had sorted out one of these solutions, it is still have a steeper learning curve.

    It's all about accessibility, and nowadays programming really is less accessible to young children. Anyone who can't see that either wasn't there in the 80s or lives in an alternative reality.

    [1] Huge UK success. Never cracked US market. See here [nvg.ntnu.no] for some background history on it.
    [2] For the BBC, Electron, etc there was Micro User, A&B Computing, Acorn User, Electron World, and others besides. The C64/128 had Crash, Zzap, etc, and for the Speccy there was Your Sinclair, and lots of others I've forgotten.

To be awake is to be alive. -- Henry David Thoreau, in "Walden"

Working...