PHP sucks dick through a straw
Jeff Anderson
captvanhalen at gmail.com
Fri Jan 12 14:41:58 GMT 2007
On 1/12/07, Daniel Barlow <dan at telent.net> wrote:
>
> Jeff Anderson wrote:
> > What kills me about PHP (i was coding up some recently) is that an
> objects
> > attributes and methods have to be called in different ways:
> >
> > $object->attribute;
> > $object->method();
>
> Not really seeing this is evil, it's just "not what you're used to".
> If the language parses $object->method as a /call/ to method, you have
> no way to refer to the method object itself.
I never said it was evil, and it certainly is not what i am used to seeing
as how i am a Perl programmer. What i said was that it kills me, and this is
true. :)
But some kind of error/warning would be nice instead of silently requiring
me to scour through code.
More information about the london.pm
mailing list