radiac.net

diary - entry

The Meaning Of Life - FAQ

6th May 2003 at 00:24
Thanks to Andrew for pointing me at The Meaning Of Life FAQ. This guy had far too much free time on his hands.

And I hate PHP, I really do. What a stupid stupid language with a rediculous syntax. You want to match '\]', you'd think a regexp for \\] would do the job - escape the \. But no, it needs to escape those, since the string parser sees \\ and thinks 'ah, thats a \ thats been escaped', so sends off \] to the regexp parser, which thinks 'ah, thats a ] thats been escaped'. Retarded. And it makes you have rediculous regular expressions like "/^(.*?)\\[([^\\]]+?)(?<!\\\\):([^\\]]+?)(?<!\\\\):(.+?)(?<!\\\\)\](.*)$/". See what I mean? Dumb language. They copied the good bits of perl and implemented them in such a way that they're hell to use. And they say php is friendlier than perl. They can't even give their functions a standard interface. Pah.

And you've got to love IRC...

Comments

  1. W00t, I got a mention :)

    (again)
    Andrew6th May 2003 at 18:28

Add a comment

Name:(required)
E-mail:(will not be made public)
Website:
Comment:
Beef cut: Your beef cut of the day is:


Please enter it below:

Thank you for proving you are a human, not a spammer!
 

Links