note 34356 added to faq.languages

From: Date: Thu, 24 Jul 2003 16:34:24 +0000
Subject: note 34356 added to faq.languages
Groups: php.notes 
Request: Send a blank email to php-notes+get-52582@lists.php.net to get a copy of this message
--------------------------------- QUOTE: This is a comparison between PHP and Java/JSP: http://www.tek271.com/articles/JavaOrPhp.html Any comments? --------------------------------- Probably the worst comparison I have seen in a long while. They penalize PHP for class scope and global variables and such. 1) While that may be relevant for APPLICATION programming, it's totally irrelevant for web programming. Web programming, imho, is about being able to get a quick, organized solution out QUICKLY so that it can be maintained and dynamic. The global variables, lack of package system, and loosely typed nature of PHP makes it easier to use and get stuff done in, while the syntax is still clean and easy to maintain. On applications programming.. yes.. Java is a better solution. But for web programming, JSP doesn't hold a candle to PHP, imo. 2) With PHP 5, I would just like to remind everyone, there will be a lot of concessions to Java programmers (mostly to lure C++ hackers to PHP over C# or Java) like constants, abstract stuff, and access control. While it won't impact the programming that much ( you can still code just like you always have) you can at least feel more like C++ when we finally get to use PHP5. dan ---- Manual Page -- http://www.php.net/manual/en/faq.languages.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34356 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34356&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34356&report=yes

« previous php.notes (#52582) next »