Re: Perl

[prev] [thread] [next] [lurker] [Date index for 2003/09/11]

From: Juerd
Subject: Re: Perl
Date: 17:24 on 11 Sep 2003
Peter da Silva skribis 2003-09-11  9:36 (-0500):
> > Yup. Of course, this is because those "two lines" use several thousand lines
> I hate the absurd syntax. Unless this do that if not something else.
> And the precedence rules make C's already tottery tower look simple.

The precedence rules are equal to C's, for all operators that the
languages share. But Perl has more operators, so there are a few more
levels of precedence.

Fortunately, they are made to DWYM in most situations and you can always
use parentheses when in doubt.

Should you need to know the precedence rules, a quick look at "perldoc
perlop" shows all you need.

> I hate the absurd quoting rules. Give me a reflective language and I
> can create the quoting rules I need, I don't need ten different
> variants on qw(er/ty/).

You may use source filters (the extremely powerful equivalent of #define)
to create any syntax you like.

If you do not need ten different variants, you can choose to use only
one.

> I hate the absurd dependency maze I end up in every time I delve into
> CPAN, which usually ends up with my having to upgrade CPAN before I
> can build anything.

This is a problem with software in general. Not just CPAN.

Note that if you keep your software up to date, you do not need to go
through a lot of trouble when you need something.

> I hate the way it encourages idiots who shouldn't be allowed within
> ten meters of anything sharper than Cobol to write things like
> Majordodo.  And to release things in public I'd be embarassed to admit
> I'd written.

Please tell us where the documentation says something like "You should
write things like Majordomo". This mistake needs to be corrected.

Please note that making something possible is not the same as
encouraging something. It is possible to ignore red traffic lights, it
is possible to run over pedestrians and it is even possible to kill
yourself using pain killers. But you're not encouraged to do so.

Perl is the perfect language to shoot yourself in the foot with. If you
cannot handle the freedom, then stay inside.

> And I'll take a couple of hundred lines of rules, much as I'd prefer
> to trim them down to a couple (and now I know there's an RFC to follow
> I don't hate this list software nearly as much as I did), over several
> thousand lines of such line noise.

I am glad you like editing your .procmailrc and .ezfilter files now. It
is only one more line. And another. And another.  :))


Juerd

Generated at 14:02 on 01 Jul 2004 by mariachi 0.52