Re: why not object oriented?

From: Date: Wed, 24 Nov 1999 20:45:12 +0000
Subject: Re: why not object oriented?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-13085@lists.php.net to get a copy of this message
Simply put, PHP is not an object oriented language. Zeev At 09:01 24/11/1999 , tomas jogin wrote:
I dont want to stir up any irritation, but i just felt i had to ask. Why is the PHP language so not-object oriented? I know one can make classes and all that but im wondering why the built in functions arent objects allready. For instance, why are there dozens of database functions depending on the kind of database you are trying to access instead of an object, say dbobject, with a function, like dbobject->setdatabase(), to set the proper database. This would greatly ease the pain for developers switching from msSQL to mySQL, or the other way around. Please notice how the database example was just that, an example. What i want to know is why objects arent more common in the language, atleast i think objects are far superior to dozens of functions in a bag. Sincerely, Tomas Jogin. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#13085) next »