in reply to Re: Perl: friend or foe ?
in thread Perl: friend or foe ?

Monkers,

I think everybody had their say on that one. I was'nt trying to kick up a fuss but merely answer some of my own questions by asking you lot. Cheers :)

Two more question's ........ If Perl is so neat and nifty for the things its used for, why does it never get taught at a lower level?

Im doing a masters and only just heard about it after christmas.
I would like to see a choice of what languages you can learn when you begin you programming course.

Is this the same for everybody?

Replies are listed 'Best First'.
Re^2: Perl: friend or foe ?
by merlyn (Sage) on Apr 25, 2005 at 23:00 UTC
    Perl certainly wasn't around when I started learning programming. Heck, Larry Wall wasn't even programming then. {grin}

    I spent the first six or seven years learning (and later teaching) BASIC.

    Then I discovered C, and Pascal, and FORTH, and Logo, and realized how much larger the world must be.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

      Perl IS neat and nifty for just about anything! FYI Perl is taught at the "lower levels", I myself took Perl my second year, maybe you should change schools? I wish it was around when I was in High School, but as Merlyn points out Perl wasn't around yet. shudders at BASIC =:-)
Re^2: Perl: friend or foe ?
by willyyam (Priest) on May 02, 2005 at 14:08 UTC

    Perl is not necessarily going to be attractive as a pedagogical language - partly because of TIMTOWDI. Also, there have been criticisms that Perl code is auto-obfuscated, which makes evaluation on pedagogical grounds challenging.

    In my (limited) experience, Perl is used to get things done, and teaching languages are used for teaching. Perl exposure in academia is more likely to happen in the experimental sciences or occasionally in the Arts. If you are interfacing with telescopes, gathering data from sensor arrays or modelling bioinformatic systems, you'll likely hear about Perl before it would come up in CS.

Re^2: Perl: friend or foe ?
by Anonymous Monk on May 03, 2005 at 08:19 UTC
    If Perl is so neat and nifty for the things its used for, why does it never get taught at a lower level?
    For the same reason they don't teach quantum physics at a lower level. Nor do you get to use a 747 to get your pilot license. And your grandfather didn't take you out to sea for some shark fishing the day got your first fishing gear.

    Perl is a powerful language, but only in the hands of a skilled and experienced programmer. And then only some of them.

    Im doing a masters and only just heard about it after christmas. I would like to see a choice of what languages you can learn when you begin you programming course.
    You're doing a masters in what? Computer Science? Well, that's a lot, a whole lot, more than programming. And if you don't like what you get at your university, talk to them, or find a different university.
      Im doing a masters in Bioinformatics. My undergrad was computing and biology. Im not talking about what im doing here. What i said was "I only just heard about it after christmas", which is partly the fault of this uni, but also of all other uni's. None of them offer perl courses or teach perl programming.
      For the same reason they don't teach quantum physics at a lower level. Nor do you get to use a 747 to get your pilot license. And your grandfather didn't take you out to sea for some shark fishing the day got your first fishing gear.

      Perl is a powerful language, but only in the hands of a skilled and experienced programmer. And then only some of them.

      I don't know-- I'd probably not count myself a "skilled and experienced programmer." I've taken a few classes in college, but I got turned on to perl in my work as a sysadmin-hobbyist. None of the tasks I wanted to automate were difficult; they were usually minor text transformation and redirection. Perl was great because it /was/ simple. As the camel book says, "Perl is designed to make the easy jobs easy, without making the hard jobs impossible."

      For teaching simple programming, perl's great-- you don't need all the magic incantations (class HelloWorld { public static void main(String[] args) { System.out.println("Hello, world!");}}) or strange operators (cout << "Hello, world") of other languages. You don't need to fight to teach about data structures (perl arrays are arrays, queues, stacks, and so forth), since they're just /there/ and working. And then there's passing by reference vs. value, which perl largely dwims away. If you want to introduce functional programming as compared to imperative programming, perl lets you do that, too. For basic programming, I'd probably start with perl instead of Java or other similar languages. There's certainly value in teaching C++, especially when you want to start talking about lower level computer guts, but basic programming doesn't generally need/want to talk about memory allocation and other complex problems.

      Steve