Re: [PHP4BETA] OOP issue

From: Date: Tue, 16 Nov 1999 18:24:28 +0000
Subject: Re: [PHP4BETA] OOP issue
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-6302@lists.php.net to get a copy of this message
Chad wrote: > What if one wanted to call the super constructor and do further > initialization? i.e. Assuming class Node extends X, you'd call X::x() manually in Node::node(). This hardcodes another superclass dependency in your code, that is, should the class hierarchy change or should you copy code from one class to another manually, you'd have to update one more reference to the superclass manually. Did I mention that I do not like this? If not, please take note of the fact that I think this is ugly. :-) Kristian -- Kristian Köhntopp, NetUSE Kommunikationstechnologie GmbH Siemenswall, D-24107 Kiel, Germany, +49 431 386 436 00 Using PHP3? See our web development library at http://phplib.netuse.de/ (We have moved! Update your bookmarks!)

« previous php.version4 (#6302) next »