As have been pointed before, the CIO article isn't really about Perl usage, and the counter examples aren't very interesting either. The writer warns against using Perl in: - Real-time or high-performance applications - This doesn't have to do with Perl specifically, however, if said real-time app needs a text-oriented language, embedding Perl in the code can bring some benefits; ignoring this makes this item more of a half-baked populistic advice, and mostly a buzzword-ish one.
- As a replacement for shell scripts - Actually a good advice, using Perl as solely a one-liner language where simpler options are available is a good practice, as well as not relying on system calls and back-ticks.
- As a Web scripting language, which is another buzzwordish-compatible concept, albeit a bit off, especially since "more modern Web scripting languages", aren't.
- And, In an obfuscated fashion - Is a "best practice" item, nothing to do with Perl, as obfuscated code existed before Perl existed. Overall, along with item 2, this isn't a "don't use Perl", but more of a "use Perl, but don't do this and that".
But the main issue is, the writer doesn't really gives any advice as to when to use Perl, and what are the preferred usage of it other than "Perl has these features, it's not C, I prefer rails, and don't write bad code".
| [reply] [d/l] |
But the main issue is, the writer doesn't really gives any advice as to when to use Perl, and what are the preferred usage of it other than "Perl has these features, it's not C, I prefer rails, and don't write bad code".
Or, in other words, "Hi, I'm a puff piece intended to fill a page or two."
BTW, thanks for the pointer to use.perl.org; I hadn't encountered it before.
| [reply] |
Blech. Now, why couldn't someone write a fun article about the things Perl can do in problem spaces all the other languages completely ignore, like say with a module like Data::Ovulation?
| [reply] |
Or all the Genetics work that is apparantly done in Perl. Or all the file format conversion tools that exist as CPAN libraries. Or the communication libraries. Or ...
| [reply] |
People who think you can't write a large, scalable web site in Perl are amusing to those of us who do exactly that.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
| [reply] |
That was precisely why my original post said "for your amusement". I'm not a Web programmer, but I know the CPAN libraries that exist, and I see all of the questions concerning Web Apps. All I could think (as I read the article) was "What's the color of the sky in his world?".
| [reply] |
Interesting. The author has never heard of the language awk, but has heard of some language that I haven't called "Ruby on Rails".
| [reply] |