Re: [PHP4BETA] calling member in parent class

From: Date: Mon, 07 Feb 2000 19:29:07 +0000
Subject: Re: [PHP4BETA] calling member in parent class
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-9920@lists.php.net to get a copy of this message
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. -Andrei "Music expresses that which can not be said and on which it is impossible to be silent." -Victor Hugo

« previous php.version4 (#9920) next »