On Wed, Jan 20, 2010 at 06:47:04AM -0600, Jay Blanchard wrote: > [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.
My viewpoint may be jaundiced from having programmed in C++, but the polymorphism of PHP seems a little crippled by comparison. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php