In the search of some scripts in the net, I found that a lot of them contained ugly code. By ugly, I mean code that is not well-structured and has bad writing forms. The use of short tags over full tags was the one that pissed me off more; I had to tweak my PHP settings to make them work.
So what I recommend and it’s of course recommended by a lot of PHP developers, is to use full PHP tags. There is one more thing apart from annoying people with short tags: it can cause conflicts with XML parsers.
Full Tag (GOOD)
<?php //Good form ?>
Short Tag (BAD)
<? //=( ?>
I just wanted to share this with you so you take it in consideration the next time you’re coding. Although I don’t recommend the use of short tags because most of my code is sold or just for other people, some developers may prefer using them because of speed, either of typing or code processing, and because they probably will be the only ones that will use that code.
So I guess it’s up to you whether to use them or not.
Have a great day!