Jochem Maas wrote:
I understand the point you made below - you have made this argument before
and I, for one, accepted it as valid when I first read the discussion
on internals - which is why I avoided ranting about that (and changes
like it)
But you didn't avoid it, you used it as an example to back up your rant.
And on the OO side your argument gets shaky as well. The whole point of
OO is to add a very structured layer on top of your code to make it more
consistent and more maintainable than the equivalent procedural code.
There is nothing you can do in OO that you can't do with completely
freeform procedural code. When you choose to go OO, you choose a set of
rules and a certain code structure that by definition is going to be
somewhat constrained. The argument over exactly how constrained this
should be and where we should loosen things up will continue until the
end of time. PPP and Interfaces are all about constraints. They serve
no practical purpose whatsoever other than to add constraints.
And saying that these OO issues is slowing down PHP 5 uptake is a bit of
a red herring. We are competing against ourselves. PHP 4 works
extremely well. There is a lot of code written for it and it works. I
seriously doubt very many people are not upgrading to PHP 5 because of
some debatable edge-case OO thing. People are not upgrading to PHP 5
because PHP 4 works just fine for them and they haven't yet discovered
things like SimpleXML and some of the other killer features of PHP 5.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php