when is OOP a good choice?
| From: | anders thoresson | Date: | Wed, 12 Feb 2003 20:50:03 +0000 |
| Subject: | when is OOP a good choice? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-135359@lists.php.net to get a copy of this message | ||
I've just started to read about - and will soon try to write - object oriented code. I think I've got the basics both from the PHP-books I have, and from various sources on the web.
But nowhere have I read a good explanation to two of my questions:
1. What are the main benefits from OOP?
2. When is OOP a good choice for a PHP script, and when is ordinary functions a better call?
--
anders thoresson