Afficher un message
Vieux 29/04/2008, 11h37   #6
Erwin Moller
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: I couldn't understand why PHP is so popular. The PHP code looksso horrible compared with Java.

Rik Wasmus schreef:
> On Tue, 29 Apr 2008 08:00:47 +0200, tenxian <hi.steven.tu@gmail.com> wrote:
>> Could you put up with the horrible PHP code?

>
> No offcourse not, that's why we read this group.
>
> For comparison, here's some Perl:
> #!/usr/bin/perl -l
> s--@{[(gE^Ge)=~/[^g^e]/g]}[g^e]x((!!+~~g^e^g^e)<<pop).!gE-ge,
> s-[^ge^ge]-s,,,,s,@{[(g^';').(e^'?')]},(G^'/').(E^'|')^Ge,ge,
> print,s,(?<=/[^g^e])[^g^e][^g^e],$&^(G^'/').(E^'|')^gE,ge-ge


LOL.
The old I-hate-PERL-vibes are running up my spine again.
Thanks for reminding me why I code PHP these days. ;-)

Regards,
Erwin Moller
  Réponse avec citation
 
Page generated in 0,06116 seconds with 9 queries