Jump to content

OOP functions VS. plain standard functions


massive

Recommended Posts

I think the major advantage is that objects can inherit functions from a parent class, so you can have a base class that will do most of the work, and the rest will just extend it. It's like have the function one time or copying 500 times.
while i was waiting for your replies i tried to search the benefits of an oo-programming heres the link



[a href=\"http://www.onlamp.com/pub/a/php/2005/07/28/oo_php.html?page=1\" target=\"_blank\"]http://www.onlamp.com/pub/a/php/2005/07/28...php.html?page=1[/a]



i hope this would also help others regarding to my question :)



@ nogray and thorpe i thank you for your reply :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.