Reply to Re: PHP6 - Comments?

Your name:

Reply:


Posted by Oliver Grδtz on 08/24/05 04:53

Chung Leong schrieb:
> I don't like the direction PHP is going. It seems to focus has shifted
> from making a useful tool for building web sites to making a better
> language. The two goals are not mutually exclusive, of course, but nor
> do they completely overlap. As the cliche goes, people want
> solutions--not technology. PHP seems to be going down the path of ASP,
> where a simple useful tool become a hideous monster.
>
The developers are well aware, that PHP has to be easy for starters.
Keeping it simple was a primary design goal for version 5. Things like
multiple inheritance of classes and namespaces were not added in PHP5,
because they complicate things.

Instead, the developers improved the performance of the Zend Engine and
added fun stuff like __call to the classes, that are almost "too
result-oriented" for academics. It's interpreted, we can do it, so let's
do it!

For version 6, namespaces are becoming a topic again, since the sheer
number of PHP projects will surely lead to name collisions. You take
solutions from two projects and bang, several classes have the same
name. The developers seem to be disussing about how to do it without
losing performance and how to hide it so that you only have to use it if
you want to. Old-Style code will be in a global namespace.

Multiple inheritance will - as I guess - never be a part of PHP. It's a
concept that C++ programmers miss, since they're not following the basic
rule "favour composition over inheritance". OK, I think this sounds too
academic, so I'm not getting deeper into this issue.

And: Version 6 is not as far away as one might think since the
developers will directly go from version 5.1 to 6.0. The version after
5.1 will be a major release because great parts of the functions have to
be rewritten from scratch. PHP6 will feature transparent support for
Unicode which - because it has to stay simple - nobody will notice
unless he or she uses it.


AllOLLi

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация