Re: What's the use in OOP?
| From: | Jason Giangrande | Date: | Mon, 29 Mar 2004 21:52:09 +0000 |
| Subject: | Re: What's the use in OOP? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181727@lists.php.net to get a copy of this message | ||
Stephen Craton wrote:
I've been reading up on object oriented programming in PHP for a while now and I just don't get what's the use in using it. It supposedly makes it faster, but I don't really see how in any of my scripts. What's the advantage of OOP anyway, and why are so many people using it now? What does it have to offer then just creating files full of functions to include later like I've always done?It's really good for code organization and reuse. The ability to reuse code every easily is it's best feature, IMO. Also, Rob has good points, too. -- Jason Giangrande <jason@giangrande.org> http://www.giangrande.org http://www.dogsiview.com