in reply to Perl is a black diamond language?

Here's my take on it. Perl is a very large and flexible language. Any language that boasts TIMTOWTDI as a feature means that there is no 'one true way'. This may make it a hard language for someone without any programming experience. Perhaps a more B&D language is a better choice for a first. Perl as a first language has been discussed here.

But I think it's fine for a casual programmer up. It is very easy to write Perl code, and probably repeating something merlyn said, it's very easy to write bad Perl code.

What this means is that you can pick up Perl and start using it immediately. But it's very flexibility means you aren't going to be forced to do things 'right'.

Personally, based on how I learned, I effectively learned a subset of Perl that didn't include many things people consider good practice - use strict, modules, etc. I didn't omit these because I was a bad programmer, I omitted these because I was unfamiliar with them and I knew (heavy irony) enough Perl to do what I need to. I still wince at the mess my early programs were.

However, I think that Perl is mature enough to avoid that - there are innumerable resources, web, book, and people, to allow one not to hurt oneself with the chainsaw if one takes the time to check them out. And past that it's just practice, like any language.

=Blue
...you might be eaten by a grue...

Replies are listed 'Best First'.
Re: Re: Perl is a black diamond language?
by Albannach (Monsignor) on Nov 29, 2000 at 20:03 UTC
    Right on the money Blue. I've been (ab)using Perl for a very long time compared with most people here, and yet I've managed to touch only a small part of it. Even so, it has been a great replacement for the type of work I used to do in C and/or Fortran (and I made much use of Perl's portability, far more real than that of C or Fortran!). While Perl is wickedly powerful, it also makes complicated string manipulation very much easier than most other languages I've tried.

    Now I'm still using Perl on a daily basis, but the stuff I write now is much cleaner and easier to debug, as well as likely faster to write and execute. I still keep my fingers off the big red buttons for the most part, but reading all I can here and experimenting has definitely improved my results.

    Back to the point of this thread, I think Perl can be used by (and offers benefits to) anyone that could comprehend any other programming language, and the best part is you don't need to move to a grown-ups language when your interest exceeds its capabilities ;-). One doesn't need to be a soldier from Switzerland to make good use of a swiss army knife, especially when all one needs is the bottle opener (hmmm... that sounded much better in my head).