Well the point for me is that I want "clean php code" (the relevant part of my definition of what this is for me should be apparent by the rest of the email) when I see a script starting with "<?php" and I think this is a valid goal.
This way it will be quite easy if the script is full of key-stroke optimized code (and sorry key-stroke optimized is usually harder to read as long as we are talking about using 1-2 chars versus 5-8 - obviously if you have variable names that are longer than 25 chars its starts getting problematic too). Key-stroke optimized code is simply not as expressive. Anyways I must admit I have never really seen or worked with any code that uses "<%" and I would like to keep it that way. Also since "<%" and "<?" does not work everywhere, people will be reluctant to make use of it in public repositories, so newbies will not be forced to try to decipher what "<?php=" means. And again imho this is a good thing (tm). So basically I am saying: use "<%" or "<?", even "<%=" if it makes you happy and saves you time, but please leave "<?php" out of the key stroke optimization efforts. If you want key stroke optimization you already got your variant that makes you happy. Best regards, Lukas Smith [EMAIL PROTECTED] _______________________________ DybNet Internet Solutions GbR Reuchlinstr. 10-11 Gebäude 4 1.OG Raum 6 (4.1.6) 10553 Berlin Germany Tel. : +49 30 83 22 50 00 Fax : +49 30 83 22 50 07 www.dybnet.de [EMAIL PROTECTED] _______________________________ > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 6:05 PM > To: Yasuo Ohgaki; [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] Discourage use of short tags > > Addressed to: Yasuo Ohgaki <[EMAIL PROTECTED]> > [EMAIL PROTECTED] > > ** Reply to note from Yasuo Ohgaki <[EMAIL PROTECTED]> Sat, 27 Apr 2002 > 07:47:08 +0900 > > > > I've changed basic-syntax.xml a little. The manual list short tag first, > > even if it recommends <?php tag. > > > > Anyway, I would like to add something like > > > > <note> <para> Use of short tag is strongly discouraged. It not only > > non-portable and non-XML compliant, but also a obsolete feature. </para> > > </note> > > > > There are too many hosting services that enable short tag by default. In > > many case, user cannot do anything.. > > > > Any comments? > > -maxint! > > > IM(ns)HO There aren't enough hosting services that support short tags! > > If you don't like them don't use them, but don't force me to follow your > programming rules. Short tags have been available for a long time, and > work just fine, thank you. > > > I also strongly prefer <?= to <? echo. If you don't that's fine don't use > them. I use them and have a large code base that uses them extensively, > and don't intend to change. Please don't try to force me to change to > follow your code standards when what I'm doing has been part of the > language much longer than you've been around this forum. > > Grrr! > > > Rick > > Rick Widmer > Internet Marketing Specialists > http://www.developersdesk.com > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php