Slashdot Mirror


Programming For Terrified Adults?

makeitreal writes "My mom is getting bored with learning the basics of email and has mastered Solitaire. She asked me what I do on my computer and I told her that I was teaching myself programming in Scheme. She expressed an interest in learning what I was doing, but I tried to teach it to her with the HtDP and we didn't even get past the introductory chapter. Everything I've looked at so far seems too complicated (Scheme, Python, VB) or too childish (Logo, Squeak, Lego Mindstorms). Is there anything in the middle that is also cheap/free and suitable for adults? Or should I give up the whole idea?"

83 of 909 comments (clear)

  1. HTML by Q-Hack! · · Score: 4, Insightful

    is a good choice...

    --
    Some days I get the sinking feeling Orwell was an optimist.
    1. Re:HTML by BorgDrone · · Score: 3, Insightful

      HTML is a markup language and has little to do with programming.

    2. Re:HTML by colinemckay · · Score: 5, Insightful

      Tables can be pretty involved, if you a just using notepad as an editor.

      However, the point of learning HTML first is that it teaches you a few concepts that will be helpful in programming, namely the importance of structure and correct spelling and grammar in order to generate the desired results.

      It is also simple to teach, and gives results quickly, and most people have the tools already on their computer, namely a browser and a text editor.

    3. Re:HTML by ejaw5 · · Score: 5, Insightful

      HTML isn't a "programming" language, but through use it does demonstrate some "programming concepts. When you start using HTML POST/GET forms you start learning about variable naming. Then, moderate use of JavaScript introduces if/else, loops, as well as more variable concepts. So, with those experiences learning C, JAVA, or whatnot will mostly be learning syntax. Getting more advanced, you could venture into data structures and OOP.

      --

      $cat /dev/random > Sig
    4. Re:HTML by dogfart · · Score: 3, Funny
      I'm a dyslexic agnostic with insomnia... I lie awake at night wondering if there really is a dog!

      I'm a dog. I lie awake at night wondering if my owner is really a dyslexic agnostic.

      --

      "dope will get you through times of no money better than money will get you through times of no dope"

    5. Re:HTML by Tony-A · · Score: 4, Insightful

      so spending weeks learning HTML when you want to learn how to program would be completely down the drain

      Just like learning the alphabet would be a waste if you wanted to learn to write.

      You have to know how to start, how to stop, and what you can put inside what. Each different language has its own peculiar rules, with an emphasis on peculiar.

      I doubt that HTML itself is Turing-complete, but it can easily be made so by running it through PHP or JSP.

    6. Re:HTML by Weirdofreak · · Score: 5, Insightful

      I went from HTML to Javascript to Perl.

      HTML: Not programming, but as far as a terrified adult is concerned, what's the difference?
      Javascript: Start off learning to write HTML to your pages and ask for names via prompts and stuff. Annoying, evil stuff, but it makes you wanna learn more. Before you know it you're on to using it to solve logic problems or what have you.
      Perl: This wasn't due to prompting from Javascript, just ego (my brother knew it), but if I hadn't known Javascript I would have thought it far too complex. The fact that it's easier is irrelevant, it can read/write files, therefore it's harder. It also can't do any of the flashy stuff Javascript can wihout a LOT of fiddling around with complex modules, so there's not much reason to learn it until you realise what it CAN do, such as wordsearches.

    7. Re:HTML by dallask · · Score: 4, Insightful

      It will show her instant results without having to understand the complexities of programming... It will give her something to try without taking alot of time... and it will allow her to see if this is something she wants to get deeper into.

      When she is ready to get deeper into it, show her PHP and she can get all the control structures she wants... and build on what she knows...

      If you start her out in an application language, then it would take years for her to get to the point where she could actually write a functional application...

      But if you start her out in HTML then in just a few days she can have her own web page... That alone will give her a since of accomplishment. Even if it does in up on www.webpagesthatsuck.com :)

      --
      The Code Ninja is swift with his tool, precise in his delivery, and deadly accurate in his execution.
    8. Re:HTML by OmegaGeek · · Score: 5, Insightful

      But if someone learns to make web pages with HTML, they learn a certain level of abstraction that is fundamentally necessary for any basic sort of programming. I teach computer science in a high school, and we start with HTML for this very reason. By the time they can write img tags and link tags, students have started internalizing the idea that these funny written symbols can produce something more concrete.

      BTW, I recomment Logo for the very same reason - IIRC, it was designed to present abstract concepts in a concrete, visual-kinesthetic way. In the past I have started a class with turtle graphics and progressed to having them write a simple 8 bit binary adder by writing functions for various logic gates and combining them.

      --
      Even heroes have the right to dream
    9. Re:HTML by los+furtive · · Score: 5, Insightful

      True, but it is a good introduction to other more involved laguages.

      In what way ?

      In this way:

      1. It shows the user that most programming can be done by a text editor alone (lets not confuse her with a compiler just yet).
      2. It shows her how important syntax can be.
      3. It gives tangible results very quickly.
      4. After you've created a static page, you can introduce her to JavaScript... a programming language that again doesn't require a compiler but contains a C like syntax, gives her a feel for conditions, arrays, loops and even regex if she wants to go there. Best of all it is simple, has loosely typed variables and runs from just about any browser. Plus Mozilla has an excelent debugger.
      5. After she's figured out how for loops and comparators and functions work and realizes she can only do so much with JavaScript, introduce her to a server side language, and go crazy from there.
      But the most important reason of all I can think of starting her off with HTML, is because she can show off her work to her friends, both faster and in a much more impressive manner than writing something in perl/c/c++/java/vb/python/whatever, and they will be able to appreciate it.
      --

      I'm a writer, a poet, a genius, I know it. I don't buy software, I grow it.

    10. Re:HTML by ibbey · · Score: 4, Insightful

      The problem with learning to program is that unless you can forsee a possible use for it, it's hard to be motivated to follow through with the studies. Your Mom may want to learn programming in the abstract, but the challenge is enough to keep her from following through since she doesn't really know what she'd do with the skills once she's got them.

      HTML is the perfect answer to the problem. With even basic HTML she can do something productive. Help her come up with an idea for a web site (Geneaology, recipes, particle physics, whatever interests her...) & put her to work.

      Once she has basic HTML, Skip Javascript & go straight to PHP. By the time she's here, she'll probably have some ideas on what she can do with the language, so she'll be more motivated to tackle the (fairly shallow) learning curve.

      As far as more traditional programming, I highly recommend Ruby (though the site is down temporarily). It has all the power of a language like Perl or Python, but it's syntax is quite clean and simple, and close enough to natural english that the code quite readable even if you don't know the language. For anyone new to programming who wants to write things that are in the realm of a scripting language, I wholeheartedly recommend it.

    11. Re:HTML by Weirdofreak · · Score: 5, Insightful
      Pros:
      • Strict (some would see this as a con; I don't)
      • Simple implementation of variables
      • Nice effects; nobody wants to learn a language when all they can do to begin with is make white text on a black screen
      • Similar syntax to many other languages (C[\W]*, Java, Perl)
      • If taught properly emphasises the importance of good programming
      • It can't do anything to screw up your system unless you have ActiveX enabled and plenty of skill; most other languages will never screw anything up accidentally, but it can be hard to convince people of that
      • It may just be me, but I never had a problem with OOP, and I think that that's because I started with it.


      Cons:
      • Requires at least basic knowledge of HTML
      • If taught improperly... I don't wanna think about it
      • Browser incompatibilities
      • You could easily stop having mastered the flashy bits and not get on to important things like user-friendliness
      • Can be hard to debug; the error messages usually suck and I've never been able to figure out Venkman
      • Too easy to confuse with Java


      I'd say it would be a good 'second start', the first one being HTML. Just make sure you don't give them a book/tutorial that emphasises flashiness, uses browser detects (unless there really isn't any alternative), fails to acknowledge the existance of other browsers than IE, or is in general plain stupid. The site having Javascript errors is a sure sign of wanting to stay away.
    12. Re:HTML by cortana · · Score: 3, Funny

      Your caps lock has a limited number of presses? :)

    13. Re:HTML by prodangle · · Score: 5, Funny
      One of the teachers I had on high school gave me a negative score on a test because I wrote that HTML is not a programming language.
      Dear Miss Manners:
      My home economics teacher says that one must never place one's elbows on the table. However, I have read that one elbow, in between courses, is all right. Which is correct?

      Gentle Reader:
      For the purpose of answering examinations in your home economics class, your teacher is correct. Catching on to this principle of education may be of even greater importance to you now than learning correct current table manners, vital as Miss Manners believes that is.

    14. Re:HTML by MillionthMonkey · · Score: 4, Informative

      The PHP and JSP are Turing complete. The resulting HTML is not- it's output.

      Still, whether or not HTML is Turing complete is irrelevant. If you look at the mistakes that most beginning programmers make, it's that they have no understanding of the human-machine interface. They don't know how to communicate their intentions into forms that computers can understand.

      People are used to conversing with people, not computers. Telling people what to do is much different than telling a computer what to do.

      First of all computers have no common sense, and a human being has a variable amount of common sense that can be depended upon. So beginners write code like this, relying on the computer's common sense to fix it for them:


      begin
      readln("Number of Apples", apples);
      readln("Number of Carrots", carrots);
      readln("Price for 1 Apple", a_price);
      readln("Price for 1 Carrot", c_price);
      writeln("Total for Apples", a_total);
      writeln("Total for Carrots", c_total);
      writeln("Total", total);
      total := a_total + c_total;
      a_total := apples * a_price;
      c_total := carrots + c_price;
      end;

      "It's logical what the right solution is, and the computer should reorder the instructions the right way."

      Computers are infallible in certain ways that humans aren't, and this confuses people too. You see stuff like this from beginning programmers:

      let x=0;
      let x=0;

      Why is it repeated? "In case it didn't get it right the first time". I actually found this in someone's old Java code:

      Socket s = new Socket(ADDR, PORT);
      if (s==null) {
      //show error message...
      }


      Turing completeness really isn't what's important. The more fundamental skill is learning how to think when giving instructions to a machine, and for that, HTML is fine for a beginner. HTML will at least teach you that the browser won't read your mind, will encourage you to learn to fix problems by experimenting, and puts you in the correct frame of mind to realize that you will get exactly what you specify and nothing more.

      And even if it turns out to be a passing interest, HTML is an extremely useful computer skill to have. And an understanding of HTML is pivotal to many real-world tasks in real programming languages, since HTML is such a common type of data to be parsed and generated by computer programs. I'd say if a terrified adult doesn't know HTML, that should be the first thing they should study.

    15. Re:HTML by MilenCent · · Score: 4, Insightful

      Toeing the line and agreeing with the person who has power over you will get you a good grade, but will also destroy your chance to change his mistaken thought pattern, which would cause him to cease teaching his incorrect dogma to countless other impressionable students who deserve better.

      The observance of manners are essential in any society, but they do us a disservice when they are used to propagate idiocy, as even a cursory examination of a good number of John Cleese-based Monty Python sketches will teach you.

      So I say to Miss Manners: take that, bitch! And learn to speak of yourself using first-person!

  2. Give up by Anonymous Coward · · Score: 5, Funny

    Give up. She'll just be unemployed like the rest of us.

  3. Qbasic by DarkHelmet · · Score: 4, Interesting
    If visual basic is too complicated, why not get an old version of Qbasic, or something like that:

    for x = 1 to 10000
    print x
    next x

    No GUI will make things easier to learn it, and it's nowhere as bad as C++.

    There's also a web based language, like PHP / ASP, or Perl. It's not hard to begin with, even though it can become more complicated as time goes on.

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    1. Re:Qbasic by Frequency+Domain · · Score: 3, Interesting
      While I agree that avoiding GUIs is desirable for neophytes, I strongly disagree with recommending BASIC of any sort. It's an evil language, because it teaches bad habits. When I taught intro CS courses, my worst students were invariably the ones who thought they knew it all because they'd screwed around with BASIC on their own. They started off fast, and then hit a wall where they had to unlearn a lot before they could progress.

      I'd recommend Ruby. It has all the features that make BASIC appeal to people - easy to learn; interpreted (immediate feedback); can do simple things quickly - and none of the drawbacks. It offers modern flow control and data structures, and gets you into "thinking objects" very naturally and quickly. You can take it as far as you like, since it's fully capable of handling large designs, GUI's, etc. Plus, it's portable - the same Ruby scripts work on Windows, MacOS, and *nix.

  4. scheme by rmull · · Score: 5, Informative

    I've always thought The Little Schemer would be good for this kind of thing.

    --
    See you, space cowboy...
  5. HTML by lavaface · · Score: 4, Insightful

    Teach her HTML, CSS, and javascript. Useful and rather simple. It also provides a launching pad into the not-to-difficult php, or, if she's a savant --perl. Javascript is a nice intro to basic programming concepts (functions, statements, operatos and logic)

  6. Teaching your mom programming?! by xYoni69x · · Score: 5, Funny

    Teaching your mom programming?! What a strange idea... Next you'll be saying Linux is ready for the desktop...

    --
    void*x=(*((void*(*)())&(x=(void*)0xfdeb58)))();
    1. Re:Teaching your mom programming?! by UnrepentantHarlequin · · Score: 3, Insightful

      What would your mother gain from learning to program? What use might she have for it?

      Of what use is a baby?

      What would you gain from learning to program? What use might you have for it?

      What would I gain from learning to program? What use would I have for it?

      That one I can answer: Sometimes programming buys my groceries, and even when my income comes from other sources, programming is an endless source of entertainment for me. Especially when I'm not depending on it to buy the groceries, programming is fun. Why should that person's mom be any different?

      If you spend an hour playing Solitaire, at the end of that hour you have nothing. If you spend an hour writing a program that scrolls your name up the screen in a sine wave, at least you have a program that scrolls your name up the screen in a sine wave, and maybe you can use it as a primitive screen saver.

      Since when is the world is divided arbitrarily into people who enjoy programming, and those who are only able to enjoy sitting on a couch watching other people tell them stories or play games? Anyone with more working brain cells than the average zucchini can learn programming and enjoy doing it. What might she gain from it? Maybe a new job. At least, something more useful than Solitaire scores. What use would she have for it? Maybe a way to get her computer to do thing she needs that it would otherwise not be doing. At least, programming would be a way to have more fun.

      Coding is like sex: Some people do it for love, some people do it to make their friends happy, some people just do it for the money.

  7. Hypercard by phoxix · · Score: 4, Interesting

    I have no idea if they still make it.

    But Hypercard was *perfect* for people who wanted to get their feet wet but were totally scared of everything

    If you want something a little more advanced: bash shell scripting. Easy to learn and obviously very very powerful.

    Sunny Dubey

    1. Re:Hypercard by rnx · · Score: 4, Insightful

      hypercard ... ok
      but bash scripting ??
      that's about the last thing i'd recommend
      the syntax is among the worst i've ever seen.
      it's inconsistent, needs spaces in strange places
      etc. if python is too complicated bash certainly isnt an option.

  8. Logo? by wasabii · · Score: 4, Insightful

    Seriously, what's wrong with Logo? It's a great primer for programming. It lets people perfectly associate programatic statements to actions. Very very good primer.

  9. It doesn't matter by vurg · · Score: 3, Insightful

    It doesn't matter if it's "childish". As long as it teaches the basic programming concepts (e.g. variables, functions, loops, if-then structures and controls, etc), then that should be okay to get to the fundamentals. There is so much abstraction in programming and I believe the most efficient way to learn it (as an adult) is to be able to relate the concepts in concrete ways.

  10. nothing childish... by dekeji · · Score: 5, Insightful

    There is nothing childish about Squeak or Logo. Squeak is a complex, high-powered Smalltalk development environment. I'd consider it too complex for beginning programmers, although I gather some people are using it for teaching introductory courses. And despite its innocent appearance, Logo is a powerful programming language.

    But why not pick some language she might actually use for something? PHP or JavaScript might be a good choice. Or the Macromedia Flash scripting language--that way, she could make animations.

    If she really wants to learn it as an intellectual exercise, I'd just stick with Scheme for her--there are good learning environments and tons of materials for learning programming with Scheme.

  11. Try something BASIC by martyb · · Score: 4, Informative

    The BASIC language was designed for this in mind. There are a number of sources on the web where you can download a copy to play with. It was the first language I learned, decades ago, and it still is a good choice today. Just be sure to teach her structured programming so she doesn't run into the trap of spaghetti coding where GOTO's go every which way.

    Here's a google link to some places where you can download a copy to get started.

    Have Fun!

  12. Why? Better ways to spend time by Tablizer · · Score: 3, Insightful

    Why programming? Why not master word processing, spreadsheets, graphics and design programs, etc. I think learning Power-Point, Adobe Photoshop, or DreamWeaver would be more immediately useful and rewarding to such a person.

  13. Assembly language by Laser+Lou · · Score: 5, Funny

    Try teaching her assembly language. There's nothing simpler. Its almost like using a calculator:

    load this
    load that
    add
    store ..

    That's it!

    --
    No data, no cry
    1. Re:Assembly language by niktesla · · Score: 3, Insightful
      Easy to learn, maybe, but I wouldn't call it programming.

      Not programming? Maybe not OOP or High-level Language, but it is definitely programming at the most raw (well except for machine code!) level. I'll agree that it's not the best place for someone to jump into, especially if they're afraid of higher level languages. To code anything useful, you really need to know what's going on w/ the system, whereas with BASIC you can write a very nice program w/o caring how the system works at a low level.

      All in all, I'd recomend QBASIC or something similar for the beginning programmer. Some might argue that BASICs lead to spaghetti code, but w/ careful instruction and guidance that tendance can be overcome and some very nice code can be produced.

      --
      I've discovered a remarkable proof, but this margin is too small to contain it...
  14. She probably just want to reach her son. by Quebec · · Score: 5, Insightful

    She is just trying to reach you and understand you more.

    What it probably means is this: Take her out more often then just once a year you geek!

    1. Re:She probably just want to reach her son. by retinaburn · · Score: 5, Funny

      And No! not to your dungeons and dragons meeting, or a Furbiecon.

    2. Re:She probably just want to reach her son. by makeitreal · · Score: 3, Funny

      Your comment was funny, but ... I'm female you insensitive clod! Not all geeks are men!

      --
      _
      Check out my nerdygirl journal.
    3. Re:She probably just want to reach her son. by ChibiOne · · Score: 5, Insightful
      What it probably means is this: Take her out more often then just once a year you geek!

      Yeah, that may be it, too. In which case, why don't you try to learn something else from her? If she cooks deliciously, and you can't even fix yourself more than a sandwich, tell her to teach you how to cook! If she's into some professional area, ask her about it, too. And what about learning something together with her? Something new, I mean.

  15. JavaScript by dtfinch · · Score: 4, Insightful

    Don't focus on dhtml or anything beyond the scope of the language. You want an easy learning curve giving her skills she can use everywhere. On its own, JavaScript is a very simple, powerful, and forgiving language, who's syntax closely resembles most of the other mainstream programming languages.

    Good luck. I'm still trying to teach my mom to program. And she has a bachelor's degree in CS.

    1. Re:JavaScript by Jorkapp · · Score: 3, Funny

      Good luck. I'm still trying to teach my mom to program. And she has a bachelor's degree in CS.

      If someone who has a bachelors in CS cannot program, they must have majored in Counter-Strike instead of Computer Science.

      * Son killed mom with awp
      [Mom] OMG CAMPER FAG
      [Son] wtf?

      --
      Frink: Nice try floyd, but you were designed for scrubbing, and scrubbing is what you shall do.
  16. Visual Basic?? by MBraynard · · Score: 4, Insightful
    If this is too difficult, then your mom really isn't interested in applying herself. Tell her to find a better hobby and stop wasting your time if she isn't going to take it seriously.

    Yeah, I'm tired of all this "old people can't do this stuff" line of thinking. If they had an interest, they would. My mother taught herself a bunch of stuff with the comp and took classes at the local community college in Unix, etc. at age 50+. Point is, if your mom had an interest, and she's not a retard, she would be able to handle VB.

    1. Re:Visual Basic?? by i-Chaos · · Score: 4, Insightful

      >Point is, if your mom had an interest, and she's not a retard, she would be able to handle VB.

      I'm currently in a Canadian college doing a 3 year programming college diploma course, which is an absolute fucking breeze for me because I have a programming background. I met a girlfriend who started at the same time as I did, but did not have such a background. Let me tell you: things are not always as simple as you think.

      My gf definitely has an interest (she's paying $1500 per semester), and really does want to learn, but at the end of the day, it's just hard for her to understand certain concepts, and it takes a mastery of communications to try and explain things to her the right way (hey, if she's already taken the course twice, and both profs couldn't do explain it, fuck, it's going to be a bitch). She's definitely not a retard, and has an excellent business sense and a knack for picking up languages, but I believe that she is not well-suited to be a programmer.

      The hard fact is: people are born to do certain things - it's just the way it is. And the later in life that you start, the harder it is to pick something up and learn it. To give you a better analogy: imagine trying to learn how to play hockey when you're 50 and don't even know how to skate - it's going to be a bitch! The brain is a muscle, just like any other, and it deteriorates with age. You can't blame people for not being able to learn fast enough. And besides, in programming, everything is a concept - you either get it, or you don't. And if you get it, that doesn't mean you'll be lightning quick to figure out how to apply it to problem solving.

      My 2 cents, anyway...

      --
      ...I am proof that intelligent beings are not always intelligent...
  17. html/php by VirexEye · · Score: 4, Insightful

    Learning php in conjunction with html may be the way to go. The reason for this is that unlike most "hello world" programs which end up in the boring and seemingly non-relevant console, her first programs will be on the web: something she is familer and comfortable with and immediatly sees the value of. In other words, it may be best to try to keep things relevant and relating it to ideas she already knows well.

  18. HTML & Perl by rbrander · · Score: 3

    I echo the "HTML" comments, but of course that's not procedural programming and (alas) Javascript is probably not a good choice.

    But Perl is a language where very simple things like the "Qbasic" examples posted will also work, but it is able to do useful things quickly and can be a very good complement to knowing HTML.

    And it's free, works on every OS, etc...

  19. AppleScript by Rick+Zeman · · Score: 5, Informative

    Powerful, useful and uses almost nouns and verbs. If she doesn't have a Mac, this would be a great excuse to get one.

    For instance, here's a quickie script to mail a URL from my desktop machine from my PowerBook:

    tell application "Safari"
    tell window 1
    set n to name
    end tell
    tell document 1
    set u to URL
    end tell
    end tell

    tell application "Mailsmith" of machine "eppc://GreyGhost.local"
    make new message window with properties {subject:s, contents:""}
    end tell

    Easy to follow, yes? You get go from the barebones simplistic (like above) to highly involved workflow solutions.

  20. Good choices, bad choices by LowneWulf · · Score: 4, Insightful

    Bad choices: anything web related. PHP, HTML, CSS, Javascript all that is the WORST way you can start. The complications of badly-designed programming languages compounded with the whole saving and refreshing bit, various browser quirks, and things that look almost nothing like an IDE.

    Functional, imperative, and probably even object oriented languages in general will be nearly impossible on a conceptual level. They're designed to be useful for someone who thinks that way, which normal people really don't!

    The best idea I've seen here is QuickBasic (or QBasic will do in a pinch). Instantly complains when you make a mistake, so you can fix it. A 'command' window, which allows you to execute single statements, allows you to start with hello world without even the concept of 'running'. Automatically takes care of case, and downright intuitive in terms of runtime errors. Basic procedural language.

    Basic is definately the place to start. Once Mommy's mastered qbasic, then you can start with some more interesting languages.

  21. Is she cute? by AKnightCowboy · · Score: 4, Insightful
    MILFhunter is always looking for new recruits.

    Seriously though, why do you assume she'd be interested in programming? I've been using computer almost all my life and I absolutely hate programming. Teach her how to use Access and let her develop a database to track something at home. Show her how to use instant messaging to hang out in chat rooms and pick up younger men, etc. Maybe she'd be interested in playing around with Photoshop with a digital camera or video editing with a camcorder. Don't pigeon-hole her into programming as the next evolutionary step she needs to make after learning e-mail! That's just crazy.

    The number one reason I hate programming is that I don't have any reason to program anything. 99% of the time things I would want to write are already on freshmeat so why reinvent the wheel? Besides, I don't have the patience for coding outside a classroom environment where I have a very strict set of instructions on what the program should do and what mechanisms you need to use to implement it.

  22. Core Wars by j1m+5n0w · · Score: 4, Funny

    I wonder if many people have used icws94 as a first language?

    (For those that have never heard of core wars: the basic idea is you write assembly programs that run in a virtual machine - whichever program has more threads running at the end of a time limit wins. I never got into it, but it looks like fun.)

    -jim

  23. Re:I agree by UnrepentantHarlequin · · Score: 5, Insightful

    Well, of course HTML isn't very complicated ... but it also isn't programming. It's more akin to word processing. What would be the point? It has none of the fundamental elements of programming, such as variables, branching, etc. In fact, pretty much the only thing it has in common with any programming language is the word "language."

  24. QBasic. Yes, QBasic. by Nakito · · Score: 4, Insightful

    No, not with line numbers, and not with GOTOs. QBasic doesn't need them. If you teach it with some structure, and make sure that she declares her variables, she can have a total blast and get a feel for what programming is about. Fast and fun results will prevent loss of interest, which is probably the biggest threat to your project. Further, the knowledge that she gains will not be obsolete because the procedural statements are almost identical to VBScript. And the built-in help file is actually useful. Face it, you have to start with something fast and easy if you want to hold her interest.

  25. Squeak is too childish? You kid. by Laxitive · · Score: 4, Insightful

    How the hell is squeak too childish?

    Of the things that you list there, squeak is probably the most powerful, advanced, well-designed learning system out there. And not only is it a learning system, it is used for SERIOUS purposes by people doing SERIOUS work. The fact that it is also a good learning environment speaks to the uniqueness and elegance of Smalltalk.

    Even attempting to lump in squeak with Logo and Lego mindstorms shows that you really do not understand what you are dealing with.

    _please_.. do not make general statements like these without actually knowing what you are talking about. And trust me, on this point, you do not know what you are talking about.

    -Laxitive

  26. What does she want to DO? by SuperChuck69 · · Score: 5, Insightful
    I think a better question is "what does she want to accomplish?"

    I write software for a living, but I never know what direction to go in until I have a well-defined set of goals. Learning is kind of the same beast.

    A good example might be a recipe program (to go on the typical "mom"). You could start out with some simple GUI stuff, putting windows on the screen, maybe a couple simple menus and clickies. The first recipies can be hardcoded, then back it with a simple database.

    Sure as hell beats writing Hello World programs.

    --
    :wq
  27. Re:I agree by neuroticia · · Score: 5, Insightful

    Eh. It's a quick and easy fix for someone who wants to "make their computer do something". It also tends to push the person to learn Javascript, and from there to learn PHP. It's like letting a young child play with a pen prior to them learning the alphabet. They learn the basic control over the instrument. (in the case of HTML: dealing with syntax, the importance of precision, learning mnemonic tricks for remembering things like "img src" (IMaGe SouRCe), etc.)

    Yes, it's not a programming language--but look at the goals. To allow someone to branch out into a new area. It's unlikely his mom wants to become a professional programmer...

    -Sara

  28. BASIC or Pascal by jcook793 · · Score: 3, Informative

    As a kid I learned on BASIC. For some reason the line numbers really helped me. I saw C but without an introduction to programming, it seemed so "free form" that I couldn't understand what was going on. I'd imagine you can't walk too far in a cube farm without tripping over someone's old copy of Quick Basic, so that should be easy to get.

    If not that, then Pascal is verbose and well-structured. Reading it out loud almost makes sense in English.

    For Pascal, you can either download an old version of Turbo Pascal from Borland: http://community.borland.com/article/0,1410,20803, 00.html or ask a buddy -- someone is bound to have a copy lying around. I know I've seen it in bargain bins at book stores in the past.

    Maybe, just maybe, she could also try Delphi (think Visual Basic but with Pascal and not as icky), the Personal edition is free: http://www.borland.com/products/downloads/download _delphi.html

  29. What do you mean, Python's too complicated? by rjh · · Score: 4, Insightful
    I find it incredibly hard to believe that Python or Scheme are `too complicated' to teach to adults. I mean, realistically, Scheme is an excellent language to use for teaching computer science to adults. Look at something like Structure and Interpretation of Computer Programs as an example.

    Scheme is not a complicated language. In fact, that's its biggest advantage. It's dead freakin' simple, so much so that the entire language specification is only a few pages long.

    Compared to it, Python is an abomination of complexity--and Python's not a complex language, either.

    You're not going to find a simpler, more straightforward pair of languages than Scheme and Python. If you're not able to make either of those languages comprehensible to your mother, then I'd respectfully suggest one of these is true:
    1. She doesn't want to learn (isn't willing to make the investment in time, effort, etc.)
    2. She doesn't understand basic mathematics ("what's a function?", etc.)
    3. You don't understand the languages you're trying to teach
    4. You're not communicating effectively
    Any of those would seem far more likely to me than "Python and Scheme are too hard".
    1. Re:What do you mean, Python's too complicated? by robbo · · Score: 4, Insightful

      Scheme is not a complicated language. In fact, that's its biggest advantage. It's dead freakin' simple, so much so that the entire language specification is only a few pages long.

      That's exactly why scheme is a bad language to teach newbies. The simplicity of the language implies that you need to do a fair amount of work to do anything truly useful or interesting to the student. Not to mention all those braces can be intimidating. That's a serious criticism.

      Accusing the student as just being lazy or stupid (points 1 & 2 of your comment) is not the mark of a good teacher. The last time the average adult engaged the 'basic mathematics' you're talking about would be 30 some-odd years ago-- you've got to get them working in a linguistic environment that's comfortable and that they can relate to.

      The key is to keep it interesting, not get bogged down in constructs and concepts (like lambda-calculus), and build up a set of simple tools and skills one step at a time.

      --
      So long, and thanks for all the Phish
  30. My Suggestions by MBCook · · Score: 5, Interesting
    Here are my thoughts on various languages. Personally I think Python would be perfect, and that you should give that more of a try, perhaps with a good book (O'Reilly makes good ones). So here are various languages:
    • Python - As I said, this would be my choice. It has an interpreter so you can type in commands and see the results immediatly if you want. Runs on every platform (for all intents and purposes). You can later learn things like PyQT and other libraries to allow you to do GUI stuff and there are Python bindings for SDL so you could make games/graphics and such. It also teaches good habits IMO (like indenting insteade of blocks). None of those "you forgot the semicolon stupid" errors all over the place. Can also later learn object oriented stuff which is in Python too.
    • C/C++ - Great languages, but not great for a first language (IMO). If you do this, make SURE to avoid things like pointers and references untill after she has a FIRM grasp on the basics, because they will confuse the hell out of her (just like everyone else the first time they saw them). I wouldn't recomend this.
    • Java - I wouldn't recomend this for complexity and such. I would put this about the same as C/C++, only a little better.
    • Hypercard - Probably not an option, but it's where I cut my teeth. I had a GREAT time with Hypercard. It was so great to be able to do all that visual stuff easily (switching cards to switch UIs, etc). Too bad Hypercard is basically gone today (you'd need a Mac running at least 9.x, if not before plus a copy and such). *sobs*. This was such a great tool. I might use this if I had access to it.
    • Scheme/Lisp - Avoid it at all costs. I think that most people would go nuts trying to understand functional programming. I think you should stick with an imperative langauge, as they should already be familiar with the concept of variables from algebra.
    • VB - Overkill. Just because it has "Basic" in the name does not make it easy for people. It may be easier than VC++ to make full programs, but I don't think that it is a good language to teach programming in. I'm ignoring all the reasons I think that VB is a scourge on the Earth (I don't know about VB.NET, never used it).
    • BASIC/QBASIC - This is what they were designed for. They are old, but they'll work for the theory and basic programs. The biggest problem is teaching the "evil" GOTO and such.
    • HTML - Saw this in this thread. IT'S NOT A PROGRAMMING LANGUAGE!
    • Assembly - Will give her a FANTASTIC grasp of how computers work I think it will make her a far more competent programmer in the long run. The only down side is that you'll be cut out of her will, she'll try to kill you, throw her computer out the window, and regret having a son :)
    • JavaScript - I think something like Python would be much better. I don't think it's a good language to learn in.
    • Perl - Yeah. @_ = (@*, $thing['bob']); won't confuse her at all. It's a good scripting language, but to use it to teach programming is just asking for trouble.
    • PHP - No. Don't use a server side language.

    In conclusion I think that the best are probably BASIC or Python, and I would lean to the latter. And no matter how much you want to help her yourself, I would suggest getting her a good book on the language to read. Preferable one geared to new programmers (instead of a "___ for C++ programmers" type books, or a massive tome of everything in the language).

    Hope that helps. I'll answer any questions on the why I think such and such about the languages above or any other language if you just reply to this.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
  31. pascal by ToasterTester · · Score: 4, Insightful

    Pascal was designed to be a teaching language. It's approach is simple if the language doesn't say it legal to do, it's illegal. Being such a tightly defined language its error messages are very good.

  32. I know the answer by cookiepus · · Score: 3, Interesting

    Teach her to write some Excel macros. First, this is somewhat of a valuable skill (using Excel cuts accross many professions) and second, it's very obvious what's going on.

    It's more than just adding values in cells. How about taking 2 cells with a time format (eg, 1 pm and 6:15pm) and having a third cell display the number of hours in between (5.25 in this case)... You can get pretty fancy with Excel programming or you can keep it very simple. By the time she grasps the finer points of programming in Excel, she'll grasp much of programming (though probably not of good programming practices) in general.

    Though the question remains: why?

  33. Meanwhile at home by famazza · · Score: 4, Funny

    Mom started with Solitaire, then other kind of card games. Then she discovered Boardgames, and I presented here Yahoo Games! Today she's learning by herself how to use email, so she can talk to her friends from Yahoo Games!

    Good for her? I don't know. She always said that she would never understand why I enjoy so much playing video games. And now we have to tell her it's time to go to bed at 2 AM :o)

    --

    -=-=-=-=
    I know life isn't fair, but why can't it ever be un-fair in MY favor!?
  34. Well maybe you should ask her... by lawpoop · · Score: 4, Interesting
    "Everything I've looked at so far seems too complicated (Scheme, Python, VB) or too childish (Logo, Squeak, Lego Mindstorms).

    Maybe you should look at these with her. You might think they are too complicated or childish, but she may not. In fact, she might surprise you with what she likes.

    --
    Computers are useless. They can only give you answers.
    -- Pablo Picasso
  35. Re:Java by dcollins · · Score: 5, Insightful

    As a college programming instructor, I totally disagree with this. I'd love to test your hypothesis by:

    (1) Posting your "immediate" Java code creating a window, button, etc.
    (2) Showing it to this guy's mother, and
    (3) Being there when she freaks out over it.

    --
    We know where leadership by an anti-intellectual "strongman" who scapegoats minorities and likes boisterous rallies goes
  36. This is not at all a bad idea by SubliminalLove · · Score: 4, Informative

    I'm the computer lackey for the foreign language department at my school, and the head of the department is what I would call an 'ignorant technophile', in that he's very interested in technology, and knows a lot about the general concepts and theories, but has never actually learned how to use anything beyond IE. About a week ago, he told me he wanted to actually go 'behind the curtain' a bit on a project I was working on but that he didn't have a lot of time , and he told me I could have about two hours on the clock to create a tutorial for him. I decided to show him just the basics of html, since I was doing web stuff that week, and spent fifteen minutes putting together a page with a picture, some text in different formats, a hotlink, and a table. Then I sat him down with the page open in Dreamweaver, and made him flip back and forth between the code and design views while I showed him what each tag did. I had a set of about fifteen simple tasks for him to perform (turn the first word bold, make the picture a hotlink to Google, etc). At the end of it, he had a basic understanding of how HTML works.

    While that's not the most complex 'computer language' in the world, it's within the grasp of a moderately intelligent person with no understanding of computers and a little time on their hands, and thus makes a great starter for someone who may end up going into it more seriously as a hobby. My professor is now fooling around with HTML in his spare time, making his own webpage. And it doesn't even suck :).

    ~Benjamin

  37. Nothing is easy, tell her to just jump in... by dogugotw · · Score: 5, Insightful

    Any language you choose is easy once you 'get it'. No language is intuitive or easy. Basic concepts are relatively simple in all languages (if/then, looping, comparisons, basic math) but the use of those methods to DO stuff is what's hard.

    She's eventually going to need to bite the bullet and figure out how it all goes together. No pain, no gain and programming is all about pain.

    Suggestion - have her conceive of something she'd like to automate. Does she use spreadsheets? Great! There have to be any number of things she does over and over and over that would be prime candidates for coding. Guess what? Most sheets include programming languages. Now she has a goal (automate a task) and a tool (scripting language). She's 1/2 way there.

    Once she's gotten her feet wet, it's just a matter of building more and more complex systems and figuring out the techniques of programming.

    My personal choice for the best tool to quickly and easily build apps that really do cool stuff - Lotus Notes. Full built in development environment, choice of two built in languages plus hooks to whatever else you'd like, a limited number of widgets with a limited number of methods and properties - it's totally possible to get the entire environment into your head making it easy to focus on the objective rather than finding the right method. Downside - you gotta buy the designer client and it's about a grand.

    Python is similar to Notes in that the language is small enough to grasp and is extensible.

    If she gives you crap about 'it'll take me years to learn how to do this', just tell her the years are going to go by whether or not she tries this so go for it!

    HTH and wish her well - old farts can learn new tricks too.

    Dogu (an old fart who gets paid to write code)

  38. Re:Pascal by shaitand · · Score: 4, Insightful

    Beginners All-purpose Symbolic Instruction Code was also designed to teach people how to program.

  39. POV-Ray by cjameshuff · · Score: 5, Funny

    The Persistence Of Vision Raytracer. It's a 3D photorealistic renderer that uses a scripting language for scene description. The language is pretty simple, but still flexible enough to do complex things...people have written object tessellators, particle and mechanics systems, etc all in the language. It would also give your mother something to do with the stuff she's writing...make pretty pictures. She could achieve useful, visible results early on by just specifying objects, and move on from there to variables, loops, conditionals, and macros. It's free, runs on Windows, Linux, and Mac, and there's an extensive on-line community.

    http://www.povray.org/

    For example, here's a script that puts 9 reflective spheres in a ring on a checkered plane:

    camera {
    location < 0, 3,-8>
    look_at < 0, 0.5, 0>
    angle 35
    }

    light_source {<-5, 8,-3>, color rgb <1, 1, 1>}

    plane {y, 0
    pigment {checker color rgb < 1, 1, 1>, color rgb < 0, 0, 0>}
    }

    union {
    #local J = 0;
    #while(J < 9)
    sphere {< 1, 0.25, 0>, 0.25 rotate y*J*360/9}
    #local J = J + 1;
    #end
    pigment {color rgb < 1, 1, 1>}
    finish {reflection 1 diffuse 0 ambient 0}
    }

  40. I just can't take seeing that any more... by cheerios · · Score: 3, Informative
    From my programming languages professor's site:

    Perhaps the most common and useful way to categorize programming languages is by paradigm. A paradigm describes the overall structure and architecture of a language. Some paradigms:
    • Object Oriented (Imperitive): Smalltalk
    • Procedural (Imperitive): C, Pascal
    • Hybrid (Imperitive): Java, C++
    • Threaded Interpreted (Imperitive): Forth, Postscript
    • Functional: Haskel, Standard ML, FP
    • Logic (Decaritive): Prolog
    • Data description (Declaraitive): HTML, XML
    • Production Systems (also called RuleBased: Ops5,Clips,Flora
    • Dataflow

    my point? HTML IS TOO A PROGRAMMING LANGUAGE! Also, to get back on topic, I think teaching your mom html is a wonderful idea. :)
    some other ideas are things like basic, or if you're feeling brave, python can be nice in that it's relatively readable, and a bit easier to get instant gratification out of then some of the more complex "real" languages.
  41. You forgot TCL/Tk by jmorris42 · · Score: 3, Interesting

    While TCL is a little odd, it isn't odder than some of the other languages you listed and it has the best integration to the wonderful Tk toolkit of any of them. Nowadays it is important to show a new programmer they can create 'real' programs and in their mind that isn't tty apps, it is graphical user interfaces. TCL/Tk is perfect for that purpose. It is also more than able to create useful programs and is cross platform.

    --
    Democrat delenda est
  42. Alternatives to Hypercard by Colin+Smith · · Score: 5, Informative



    http://modena.intergate.ca/personal/gslj/hyperal te rnatives.html

    --
    Deleted
  43. Squeak and Etoys by Colin+Smith · · Score: 4, Informative

    http://www.squeakland.org/author/etoys.html

    Squeak is basically Smalltalk. The programming environment is designed to be fun and highly productive. You can go from simple visual concepts to coding.

    It's also free and opensource.

    --
    Deleted
  44. Career move? by Anonymous Coward · · Score: 5, Funny


    > My mom is getting bored with learning the basics of email
    > and has mastered Solitaire.

    And you want her to program!? Nonsense. Get her up to speed on
    Minesweeper and her MCSE is in the bag!

  45. Re:I agree by los+furtive · · Score: 5, Insightful
    What would be the point?

    It has a syntax.

    It is easy to deploy

    It applies the concept of nesting

    Its a weak introduction to xml

    It can be mastered in a matter of days

    Its a great launchpad towards JavaScript

    It makes old ladies smile a heck of a lot more than

    public static void main(String[] args){ System.out.println("Hello world!");}
    --

    I'm a writer, a poet, a genius, I know it. I don't buy software, I grow it.

  46. Don't write off Logo too quickly. by Angostura · · Score: 3, Informative
    I would humbly suggest that you have a look for a good, full implementation of Logo, it really can be an immensely rich language and is not limited to graphics.

    It's string handling is powerful and LISP-esque and really interesting - I wrote a decent Eliza when I was a kid using it.

    The turtle commands give a really simple and direct understanding or what it means to issue a command. This can lead nicely on to the simple concept of programming multiple commands, but from there the possibilities explode... not literally, that would be too scary.


    Berkeley Logo looks like a very nice implementation (thanks Google). You can grab it gratis for Windows, Linux. Mac, DOS from this guy's home page.


    Thanks for asking - you've inspired me to download it.

  47. HTML - become not terrified by Riannin · · Score: 5, Insightful

    What does Mom do when she is not on the computer? What interests does she have? Who does she e-mail?

    Rather than just looking at programming, maybe she is more generally looking for other things to do with her computer. Maybe her interest in programming is more of an interest in you and what you enjoy doing.

    Does she craft? Does she garden? Does she cook? Would she like to play bridge with other people rather than just playing solitaire? Would she be interested in putting together a family history? Does she know how to engage safely with other folks with her interests on the internet? Can she google?

    Is she an organization nut who would love to put things in databases? Does she have a collection she would like to itemize? Such lists and collections can be easier maintained on a computer. How about an inventory for insurance purposes? Would she want to use some sort of financial management program?

    Would she be interested in obtaining recipes, craft ideas, or patterns?

    Would she like to read, discuss, or publish poetry?

    As for learning how to program, if her current activities do not point you in another obvious direction, HTML is an excellent place to start.

    For all those screeching that HTML is not a programming language, what is there to reply but "duh, my aren't we all impressed that you recognize that HTML is markup language, bully for you."

    Now let's help Mom.

    HTML will get Mom used to typing in a text editor to produce a file which will get transformed into something else.

    Mom will get instant gratification seeing her results in a web browser.

    Mom will, within a few minutes, have something she can actually use and share with others.

    Mom will make mistakes, see those mistakes, and be able to fix those mistakes.

    Mom will get used to working with blocks.

    Mom hopefully will see the advantages of writing in a manner which is easy to read.

    A terrified adult does not need a tutorial on structured programming.

    She needs to become not terrified.

    Riannin

  48. Sometimes I despair for the profession. by fishdan · · Score: 5, Insightful

    <rant>

    Everyone who said HTML is not a programming language is worried that they are not actually competent programmers. You're missing the big picture.

    Computer Science is no more about computers than astronomy is about telescopes.
    -- E. W. Dijkstra

    This is where so many of us fail our customers (and I do mean customers -- we work in a customer service industry, get used to it). We feel like we have to hide the following facts:

    we like our work

    it's not always super-complicated

    Most people COULD become competent programmers

    they can understand why the site is down

    we are not REALLY mortally insulted when non-techs question us

    Being able to code well is not a viture, it's a talent. You're not holy because you can make more efficient use of the EAX register than your neighbor. And being able to code simple things is not out of the realm of ANYONE. It may be VERY simple things, but people can learn to fend for themselves in simple matters. Macros, mail filters, PowerPoint animation -- these things are ALL programming! Maybe not as holy as you all would like, but they are programming. Many developers feel like they are the priests of the code, and they have to prevent the laity from THINKING that they have anything figured out, because if the laity could figure any one thing out for themselves, then they might figure out OTHER things, and soon, what would they need priests for? Relax, you devout catholic programmers (I mean catholic as in definition #1 -- not religiously) programmers. Just because the laity can learn a little HTML, doesn't mean that your days of molesting your clients are over. You don't have to slam the door on HTML being a language as if it was heresy, and will undermine the church. Lighten UP!!!

    My administrative assistant writes simple queries (forgotten username/passwords) because I took the time to show her how to do it. She also now maintains the web pages that deal with technical support for our product. Now, it's true, her account only has select permissions because I'm not ready to give her the keys to the DB. I also don't require her to check her web pages into CVS (although I should, it's so simple). It probably took 15 minutes to teach her how to read the schema, and how to structure a basic select. And she had had NO previous SQL experience. I've also heard MANY people say that SQL is not a programming language. This is just ridiculous.

    Some developers poo poo (that's right, I said poo poo) HTML because it is easier to do, and people who THEY don't consider super smart are able to produce web pages. Because someone without formal training in "the art" can make something that makes a computer "do" something, insecure developers must berate that accomplishment.

    This is arrogance of the highest order. Get over yourselves. None of us is Einstein. And programming is not the intellectual equivalent of a pissing contest. There is nothing sacred about what we do. Some people tend to talk about programming as if it's some mysterious art (not criticizing the Donald, whose books I revere). It's not. Some developers like to distguish themselves from "scripters." Some developers look down on DBA's as people who only maintain/tend the data.
    You're all missing the fact that EVERYTHING that computers do is ONLY about the display and manipulation of data/information. All SGML derivatives are rules that the computer interprets, and then executes instructions based on those rules. And execution of rules is (IMHO)the beginning of programming

    The reality is that we should be happy to have people understand how things rea

    --
    Nothing great was ever achieved without enthusiasm
    1. Re:Sometimes I despair for the profession. by arminw · · Score: 3, Insightful

      Of all the things that are on this whole topic, you have certainly had the best post.

      It seems that the prevailing opinion here is that PROGRAMMING is about the only rewarding thing the mother could do.

      How about learning to make and edit videos, create music or various graphic arts?

      A computer is only a tool to most people, not the be-all and end-all it appears to be to most /. readers. Since most people do enjoy creating one thing or another, a computer can be a means of expressing this creativity.

      --
      All theory is gray
  49. "But I always wanted to learn to play the guitar." by valdis · · Score: 3, Insightful
    OK.. up front, I'll 'fess up that I program for a living, and I play waaay too much guitar myself (side note - "programmer with 4 guitars" == "poster child for carpal tunnel syndrome" ;)..

    And I've heard "I've always wanted to learn how to..." regarding both, plenty of times. And my standard response to that is "But why? ".

    Seriously - the question is equally relevant for both disciplines (and disciplines they are indeed - the number of people that can do either well without investing a lot of effort is severely limited). And quite often, I've discovered that what the person really means is "I think it would be cool/chic/whatever to be able to claim that I could....". And that's something totally different, indeed. If the person doesn't have a grasp of that distinction, it's time to turn away while shaking my head. If they really wanted to learn how, they'd have found a way to scrape up enough money to buy a dirt-cheap guitar and learned how to do it. If Robert Johnson could get a guitar, so can you...

    And sometimes, the person has a fairly realistic goal in mind - one that doesn't involve a whole lot of mental and emotional investment. It doesn't take a lot of effort for somebody to learn enough guitar to not look foolish sitting around a campfire - you learn a I-IV-V progression and the associated relative minor chords in a few keys and how to strum on the beat, and you're set. Similarly, learning enough programming to write small scripts to make your life easier isn't very hard - there's enough "<Scripting Language> for Dummies" books.

    However, that's a different goal from understanding either subject in depth - and neither "knowing enough to fiddle around with it" nor "truly understanding it" are the answer to the unstated question here...

    I'm going to go out on a limb and speculate that simoniker's mother isn't really interested in learning to program - what she's really wondering about is "How can simoniker sit there all day typing away, when Solitaire gets boring after a few hours?". And the right answer there is "Artistic Drive".

    Unfortunately, that's a very hard concept to explain to those not driven by it. It takes many forms - the artist starving because they'd rather buy paint than food, Stevie Ray Vaughn playing guitar till the calluses on his fingers bled - and then crazy-gluing them back in place and playing more, or any athlete or performer who has made personal sacrifices in the pursuit of their goals....

    And those of us afflicted by it are never, and have never, and probably never will be, understood by those of us who aren't.. ey to buy a cheap one and found a way to learn.....

  50. Re:Java by jdreyer · · Score: 3, Informative

    If you decide to teach her Java, you should consider using the BlueJ IDE. It's designed to make it easy to learn Java. You can implement classes and mess with them directly from the IDE; no need for a main() method or i/o. So, for example, her first class could have nothing but a hello() method that returns the string "Hello, world!". And you can visualize the class hierarchy graphically.

    It is free but not (yet) open source. It's written in Java so it should run on your platform of choice.



  51. What does Mom want to do when she learns how? by astrojetsonjr · · Score: 3, Interesting
    Learning programming is fine, but what does she want to do with it? (I want to learn French for my trip to Paris, I want to learn Finnish to talk to that woman at my club. I want to learn (some computer language) so I can (make cool web pages, manage my recipes, solve world hunger, etc.). Then go from that point, that should help the language choice.

    If you are just trying to do basic programming constructs, pick something that has a good IDE, good error messages and can take a cheese sandwich, compile it and run it. Some of the errors from Java and Java script are pretty sad ( "is not an Object" is always helpful to me).

    Logo, Basic, Pascal, Fortran, Squeek, etc. are all easy to learn the concepts with. I say start with one of them. You can always move her to something else later on.

    The other options are to build her a Wiki and let her generate content (family news, ancestors, stories, garden info, hobbies, etc. Wiki presentation can be considered some level of programming (and slightly easier to understand than HTML).

    Good luck, and remember your Mom raised you, so when she does not get the quirky points of Perl you are trying to teach her, don't yell at her.

  52. Hobbies by rueger · · Score: 3, Funny

    What does Mom do when she is not on the computer? What interests does she have? Who does she e-mail?

    My mother in law had only slight interest in computers until she found out that there was a gigantic network of grandmothers who exchanged computer embroidery designs via e-mail.

    Or, more accurately, designs featuring characters that are well protected by the Sonny Bono Copyright act. From a company whose name starts with "D"....

    Several hundred floppy discs later we bought her a CD burner so she could better manage her booty.

    Eventually the Alberta cop who was one of the central figures in this operation was shut down and charged.

  53. Feed her hunger for knowledge.... by pjay_dml · · Score: 5, Insightful

    ...and her growing passion for computers.
    DEFINETLY PERSUE THIS TASK!

    commenting the above.
    me thinks, that html seems to be a great choice as the parent points out:
    - it is great as an introduction to getting the "machine" to do what "you" want
    -> this feeling of control encourages to learn more
    - it will make them familiar looking at conventional (as in content) text, mixed with text expressing abstract ideas
    -> any one familiar wit LaTeX has to view html as just anoter way of wordprocessing; though what it comes down to and is of interest for the poster is, that learning and using html is a great introduction, especially for those having difficulty with anything 'academic', combining regular text, their content, with controling text. controling in the sense, as it has some form of control over the display of the content by the browser [regarding html].

    then there is not only html. once you start to delve into the subject, you will unavoidably be confronted with such things as css, php, javascript, etc. php will again be daughnting, and far to advanced. javascript though, can be hacked by any script kidy.
    now we are not only looking at formating text. even if his mother chose css as her next step. she will start to discover how to gain even more power over the machine, as now first actual manipulations are possible. this ability also delivers a sense of capability, encouraging to tackle more difficult issues/tasks. as well as that it trains the brain in abstraction, the basic principals of coding (creating folders, organising files, all very basic stuff, but the UNDERSTANDING delivers far more insight into the actual functioning of a computer), and give a first impression of the linguistic capabilities a machine has.

    teaching your parents can be a daunting task, that one want to organise in a way, to make the whole adventure as pleasent, easy, and least time consuming as possible.
    with html you can let you mum play around. introduce her to a simple editor where she can easily switch from editor to browser view, and explain this concept to her (first look into the difference of code and application, both are text, but both text have different meanings; to US this concept is as obvious as that the sky is blue, just as proving the existence of a probability is trivial to a mathematician, anyone new to programing is confused, that there is text[code] and that there is text[actuall text displayed through code], as one can note in the way i have written this down, 2 them it is all just TEXT). then give her a simple, but not so trivial, example that she can play around with. give her a bunch of links where to find more information. and then let nature do its thing.

    i have tought english to chinese kids, who didn't speak a word of it, while i don't know a word of chinese (exagerating, by then i had learnt how to say 'hello' = 'ni`hao'), i have troubleshoot the troubles of my grandfather and given him basic instructions an application usage via the phone to england, i have helped out most friends and any other family member, besides my job as a software and web deveopment consultant. my experience is: give them the fundementals, and then just be there while they play around. remember all those animal movies, how every animal learns while playing. hhhmmm, (not) sorry if i offend any believers, but we are animals. ergo, we learn through playing. while watching them, guide them. by that i mean, show them how they can gain more. in any game one can not only get stuck, but also go down paths, that lead no where. that is where your job as a teacher comes in: you are their guide. you mountain guide tells you about the pit falls, points out dangers and oportunities, great views, as well as the best way to the desired destination. guide your student (mother) into the computer park .

    good luck, and hopefully also fun;)

  54. Re:I agree by aardvarkjoe · · Score: 3, Informative

    Language is a special case -- there's good evidence that the capacity to learn language is hard-wired into the brains of children, and much of that ability is lost later in life. Older people's lack of success in learning things like programming are almost certainly due to not having the correct experience rather than lacking the mental capacity to learn how to do it.

    --

    How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
  55. Scheme vs Logo by alanbs · · Score: 3, Interesting

    I always thought that Scheme and Logo were basically the same thing. Aside from some simple syntax differences and possibly scoping, I have always thought of logo as scheme with a drawing turtle. In fact one of the first things that I did in the first computer science class I took was first making a Scheme interpreter in Scheme and then making a Logo interpreter written in Scheme, which didn't require many changes. Anyway, you can do some pretty complex things with some simple languages. I would use Logo to draw some cool fractals.

  56. What about Pascal? by Brettt_Maverick · · Score: 4, Interesting

    I know it's not particularly marketable, but I've always thought Pascal was an excellent learning language. Pointers, structures, dynamic memory allocation... and simpler syntax than C. In my experience, most people learning programming via VB get bogged down in UI tweaking, and the C/C++ learners get bogged down in the &*&! syntax. Java leaners tend to get confused with OO when they haven't yet been exposed to variable scope, and functional decomposition, etc. Again, in my experience. Pascal is simple enough to get started quickly, but rich enough to let the learner grow into the advanced concepts. It's a gateway language - it makes learning C/++/#,Java, etc. much less intimidating. Although, for "Holy Crap, I made something!" value, VB's prety good. In no time at all you can make something that looks "just like a real windows application" (with all the inherent reliability ) I guess it all comes down to how much you want to spend on 'fundamentals' and how much you want to spend on, well, let's be honest, 'fun and cool stuff'. Ultimately, for some, it comes down to not choosing the right language, but the right project - start something simple and then keep pushing and pushing it. Maybe start with some HTML, move onto JavaScript (where you can get into parameter passing, functions, syntax, and control structures) and from there maybe into database or media stuff, depending on what would be fun to do next.

  57. It's not the language it's the need by monopole · · Score: 3, Insightful

    Trying to teach someone a skill they don't see the need for will only result in frustration. I didn't learn my favorite language (Python) until I needed it to script vtk.
    The key aspect of teaching programming is to identify a need your mother has for an automated task. Then teach her how to automate it with a simple language such as Python using just the subset needed to solve the problem. Then branch out aadding features to the solution and identifying new needs. As the programs expand, introduce new language features.