|
Posted by Jerry Stuckle on 09/29/07 01:00
Jeremy wrote:
> Jerry Stuckle wrote:
>>
>> Not if the server is configured correctly (i.e. short tags off).
>
> There is nothing inherently correct about turning on short tags.
>
>>
>> Oh Gawd, what a mess.
>>
>
> Matter of opinion. It also only happens once per document. I would
> rather have "a mess" isolated to one line at the top of a document than
> a bunch of ugly code throughout.
>
Once per document? So what's wrong with writing <?php echo ONCE instead
of <?= ?. Or are you incapable of the extra keystrokes?
>>>> might be removed entirely in upcoming versions
>>
>> Plan on it - it's already been announced they will do it. Just a
>> matter of when.
>
> This is incorrect information. The topic has been discussed several
> times by the community and it has always been decided that short tags
> are staying for the reasons I have already discussed. Mainly, that
> conflicting syntax with an entirely separate language is no basis for
> removing a language feature. PHP is not XML.
>
And where do you get your "expert knowledge"? Even the php.ini file
says don't use it. And from what I understand, Zend is going to take it
out - possibly in PHP 6, but no later than PHP 7.
> PHP can also be used to generate PHP. What do you propose to do about
> long tags then? Answer: escape them. Just like XML declarations ought
> to be escaped.
>
Right. And how often do you use it to generate PHP? There are millions
of XML documents out there generated by PHP, however.
>>
>> What do you think "deprecated" means?
>>
>
> It means that a feature has been officially removed from the language or
> API, but is left behind for a time while coders adjust to its absence.
> Like I said above, this is not the case for short tags. What do you
> think it means?
>
No it does not. It means that the feature IS GOING TO BE REMOVED. It
has not been removed yet, to give developers a chance to change their
scripts. But it is going away.
>>
>> Fine for you. But you shouldn't be espousing your crap style on others.
>>
>
> What do you think "espousing" means? I never told anyone to use short
> tags, if that's what you (unsuccessfully) tried to say. I'm just
> arguing that anti-shorttagists shouldn't be using incorrect information
> and logical fallacies to "espouse[sic] their style on others". I won't
> accuse your style of being crap, though, because it's not.
Bullshit. Look back at your posts. And no, my style is not crap. But
yours is.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|