Re: perl

[prev] [thread] [next] [lurker] [Date index for 2006/12/27]

From: Sean Conner
Subject: Re: perl
Date: 00:46 on 27 Dec 2006
It was thus said that the Great Yoz Grahame once stated:
> 
> Aristotle is actually being remarkably kind to PHP here, failing to
> mention the TWO THOUSAND FUNCTIONS IN THE MAIN NAMESPACE, many of
> which are synonyms for each other, and most of which have wildly
> inconsistent invocation patterns.

  First of all, how is that any different from a modern Linux shell (which I
just counted, and has THREE THOUSAND, FIVE HUNDRED and NINETY-NINE
programs), which has a bunch of commands (3,599) in a single namespace?

  And second of all, all of the PHP API is just a very thin shell over the C
libraries that make up its core.  That's what makes PHP appealing---the API
pretty much matches whatever libraries make it up (so blame the writers of
the various C and C++ libraries for being inconsistent).

> There is the total brain death of
> its compiler, not helped by the fact that anonymous functions are done
> by eval()ing strings. And the documentation which, while not hugely
> helpful, has entertaining comment threads on every page in which PHP's
> many fans attempt to outdo each other in providing the stupidest way
> of doing something fairly simple.

  And variable variables.  

  I still can't wrap my brain around that.

> At least in the PHP5 version of OOP, objects are now passed by
> reference by default. This is in contrast to PHP4, where they were
> passed by value. By default. I am not making that up.

  Oh my!  That, I didn't know.

  -spc (Makes me want to go back to Assembly ... )



Generated at 22:02 on 27 Dec 2006 by mariachi 0.52