Whether it's the right move or not, I've put off my learning of PHP classes and OOP methods until PHP5.x, so I guess the time in near :)

However, *especially* if you're the only programmer on a project, you can take the ideas & benefits behind OOP (for me, having clear, clean code that can be reused over and over again with minimal changes is my primary goal) and apply it to your own code.

It takes strict naming conventions and some careful planning, but I don't see that as a limitation at all -- more like a benefit :)


Justin



On Saturday, July 19, 2003, at 07:08 AM, Andu 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. I am certainly new to php and at first sight classes seemed to cut a lot of corners but so do functions (with which I have more experience). The more I read about classes the deeper the confusion. Anyone can enlighten me?

Regards, Andu Novac

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

---
[This E-mail scanned for viruses]




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to