Re: classes v. functions
| From: | Chris Shiflett | Date: | Fri, 18 Jul 2003 21:28:02 +0000 |
| Subject: | Re: classes v. functions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155844@lists.php.net to get a copy of this message | ||
--- Andu <undo@archeopterix.com> wrote:
> This may show my ignorance or my refusal to take for granted
> something I don't fully understand but I have a hard time
> figuring out the advantage of using classes as opposed to just
> functions.
They are entirely different. While OO fans will find my over-simplification
disgusting, a class is basically a way to associate data with the functions
that manipulate that data.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/