> -----Original Message-----
> From: Brinkman, Theodore 
> [mailto:[EMAIL PROTECTED]]
> Sent: 26 April 2002 14:55
> To: 'PHP Developers Mailing List'
> Subject: RE: [PHP-DEV] <?= and <%= both work, why not <?php=
> 
> 
> Sure, and its only an extra 4 character, really.  But that's 
> not the issue
> at hand.  The issue at hand is that the inconsistency of 
> supporting <?= and
> <%= but not <?php= encourages quite a few people to use the 
> 'optional' short
> form tags, meaning that their code isn't portable.

I guy here who till recently poo-poo'd asp tags is now using them because
<%=$VAR;%> is emminently more readable than the alternative.

> For each person who says <?php= $variable ?> is hard to read 
> at least one
> other person says they find <?php echo $variable ?> harder to read.  I
> personally find the first easier to read when it is embedded 
> in the middle
> of a long line of HTML (like an input tag for example).

Yep.

> What possible harm comes from improving the internal 
> consistency of the
> language?  Why is a two-line patch that would completely remove an
> inconsistency so bitterly fought against?

To emphasise; people here are adopting bad-old short tags in order to keep
readability of code.  It makes it easy to see the code is passive, echoing
only.

Sam




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to