Posted by Mladen Gogala on 08/24/05 19:56
On Wed, 24 Aug 2005 16:58:04 +1000, Ramon wrote:
> So what is the point of OO in PHP?
> To make the code appear neater?
> To allow greater maintainability?
The point of OO is the same in PHP5 as is everywhere else: it allows
encapsulation and code reuse. It also allows much simpler error checking
using try { } catch {} blocks. Libraries like ADOdb are written using
OO methodology and are much easier to use then the pure procedural
equivalents. It speeds up coding and allows code reuse, among other things.
> Why are people talking about PHP6 & Name spacing? :)
People are talking about Brittney Spears and Desperate Housewives, too.
Oprah Winfrey and Jerry Springer made fortunes on idiotic things that
people are talking about. This is wrong newsgroup for a question like this.
--
http://www.mgogala.com
[Back to original message]
|