Re: Calling methods of parent/ancestor classes in PHP5
| From: | Ferdinand Beyer | Date: | Wed, 18 Feb 2004 19:46:01 +0000 |
| Subject: | Re: Calling methods of parent/ancestor classes in PHP5 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7972@lists.php.net to get a copy of this message | ||
On 18 Feb 2004 at 20:21, Michael Walter wrote:
> What is your criterium of a language being an "OO language"?
Why is it
> that you consider C++ as an OO language, but not PHP?
C++ is difficult since it includes C. Nevertheless every C++
programmer is 100% coding (and thinking) object-oriented - even
basic data types like strings are usually objects.
I don't think I have to explain why I consider Java an OO language,
do I?
PHP is a procedural language with OOP being an "add-on". The API
(some extensions form the exception of the rule) is completely
provided by functions. Moreover, OOP still is expensive / slower than
procedural coding. I think most people in this list (especially the core
people) will agree.
--
Ferdinand Beyer
<fb@fbeyer.com>