RE: [PHP] Object Oriented Programming question

From: Date: Wed, 20 Jan 2010 12:47:04 +0000
Subject: RE: [PHP] Object Oriented Programming question
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-301250@lists.php.net to get a copy of this message
[snip] > Another advantage of OOP that is difficult to > provide via the procedural paradigm is polymorphism. Agreed. Though the advantages of polymorphism are questionable, depending on your viewpoint. [/snip] In a loosely typed language like PHP that advantages of polymorphism far outweigh any potential disadvantages, especially where virtual functions are concerned.

« previous php.general (#301250) next »