On 12/17/06, Peter da Silva <[email protected]> wrote:
On Dec 16, 2006, at 7:44 PM, A. Pagaltzis wrote:
>> I could go on, getting in to the sorts of hate that Perl
>> enables - s;foo;bar; anyone?

> That's annoying, but do you find the following pretty?

>     s/^file:\/\/\/?//

Neither is acceptable.

It should be something like

        string.replace("^file:///?","");

No. It. Shouldnt. HATE.  I've written just enough pattern matching
code in languages requiring such a stinky syntax to know that it SUCKS
THE WANG REALLY FUCKING BIG TIME.

Not every language needs to look like that. And if you REALLY want it
to then perl lets you. Theres already OO style pattern matching
interfaces available on CPAN for instance.

I hate this whiny "perl doesnt work the way my favourite language
works" shit especially when perl lets you define interfaces so it
works just like your favorite language. But of course "favourite
language" doesnt allow you to define interfaces that work like perls
do.




--
perl -Mre=debug -e "/just|another|perl|hacker/"

Reply via email to