Re: PHP 6.0 Wishlist
| From: | Stanislav Malyshev | Date: | Thu, 25 Aug 2005 16:56:20 +0000 |
| Subject: | Re: PHP 6.0 Wishlist | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18433@lists.php.net to get a copy of this message | ||
OF>>don't want to be boring but php have serious problems like
OF>>no-namespaces. It gives headaches to any C programmer. It is PHP
Because PHP is not C, neither it is Java, Perl, Python, C++, ML,
Smalltalk, Lisp, Javascript, Z80 assembler or any other language one was
trained into. So to expect that any syntax construct and any pattern you
were used to in your favorite language would automatically appear in PHP
is a mistake.
OF>>Please read : Why PHP sucks (for large systems) Edwin Martin
OF>><edwin@bitstorm.org>, PHP Annoyances, I hate PHP, Experiences of Using
OF>>PHP in Large Websites, Aaron Crane <aaron.crane@gbdirect.co.uk>
Most of it either "my favorite feature X is not there" or "this particular
function module doesn't have option X which I need" or "my favorite
product is not free". While the first can change and the second may be
valid point for specific module developer, it has no relation to PHP being
inadequate in general. That's like saying "American cars suck" because
they have gear shifting done differently from european ones.
Again, I think any feedback (including, and even probably most of all -
"sucks" articles) is valuable and provides food for thought, but it
doesn't mean that if you are used to particular feature of particular
language, like block scoping in C or pointers or <> construct in Perl, it
automatically should be in PHP. IMHO, good language can not be built on
kitchen-sink principles. PHP has one set of features, $Perl (replace with
your favorite language here) has another. Choose what is best to fit your task.
OF>>It is PHP created for average programmers or by average programmers. I
Well, I'd propose you to leave alone the "by" part - I think discussing
qualities of PHP builders is not your purpose and definitely is not mine -
but for the "for" part the answer is definitely "yes" - PHP is the
language that one can use even if he's not used to read machine code as
a lunch-time amusement and has troubles understanding what latest
Obfuscated C contest winner code actually does. It is suitable (and reasonably
easy) for consumption by average person - and I see nothing wrong with it.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115