Re: [PHP4BETA] calling member in parent class

From: Date: Mon, 07 Feb 2000 19:30:08 +0000
Subject: Re: [PHP4BETA] calling member in parent class
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9921@lists.php.net to get a copy of this message
On Mon, 7 Feb 2000, Andrei Zmievski wrote: > On Mon, 07 Feb 2000, Peter Kovacs wrote: > > On Mon, 7 Feb 2000, Andrei Zmievski wrote: > > > > > Tell me then, why does Java have keyword 'super'? I mean, they could > > > also just rename the Parent classes whenever appropriate. > > > > AFAIK (and I might be wrong here, as I don't have a reference with me) > > java does *NOT* have a super keyword. You can only use the function call > > "super()" in exactly *ONE* place, that is the first call of a constructor. > > > > I'd hardly call that a keyword. > > http://java.sun.com/docs/books/jls/html/15.doc.html#20448 > > > I'm with Zeev on this one. Why bother adding another keyword to the > > language when it can be dealt with just as clearly in a simpler fashion. > > That is still debatable. It may be debatable, but it's undebatable that it's not crucial or even significantly important for the completeness of the language (or at least nobody demonstrated otherwise). Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.version4 (#9921) next »