Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18433 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76077 invoked by uid 1010); 25 Aug 2005 16:56:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76061 invoked from network); 25 Aug 2005 16:56:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Aug 2005 16:56:27 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:53112] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CA/5B-28235-938FD034 for ; Thu, 25 Aug 2005 12:56:27 -0400 Received: (qmail 5933 invoked from network); 25 Aug 2005 16:56:20 -0000 Received: from shire.zend.office (10.1.2.160) by internal.zend.com with SMTP; 25 Aug 2005 16:56:20 -0000 Date: Thu, 25 Aug 2005 19:56:20 +0300 (IDT) X-X-Sender: frodo@shire.zend.office To: ovidiu@electricfm.ro.org cc: internals@lists.php.net In-Reply-To: Message-ID: References: <42FCE0E4.604@lerdorf.com> <19310545471.20050822200017@marcus-boerger.de> <877e9a17050822231876308b57@mail.gmail.com> <5.1.0.14.2.20050823220004.07898ec0@localhost> <877e9a17050823215844e885c2@mail.gmail.com> <877e9a1705082322241fc30bca@mail.gmail.com> <6.2.3.4.2.20050824161757.05e7f940@localhost> <35C1A8E0-79E0-4454-8378-01EA0C43BF18@hymiegladstone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: PHP 6.0 Wishlist From: stas@zend.com (Stanislav Malyshev) 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>>, PHP Annoyances, I hate PHP, Experiences of Using OF>>PHP in Large Websites, Aaron Crane 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