Quantcast
Channel: Omit terminating semicolon in a tag - a good idea? - Software Engineering Stack Exchange
Browsing latest articles
Browse All 4 View Live

Answer by PeeHaa for Omit terminating semicolon in a tag - a good idea?

Use only short tags No. Please god no! Relying on short open tags is a terrible idea. It only makes your code less portable. Short open tags aren't enabled by default on many many systems. And what if...

View Article



Answer by Charles Sprayberry for Omit terminating semicolon in a tag - a good...

I think it is a good idea to use PHP, or at least a subset of, as a template language. It will be easier for new developers to be integrated with your system as there's no special library syntax to...

View Article

Answer by Jonathan Patt for Omit terminating semicolon in a tag - a good idea?

I'm all for omitting them in this case, and I do exactly that, specifically because in this context I only use one single-line statement per or block. It reduces visual clutter and in all my years of...

View Article

Omit terminating semicolon in a tag - a good idea?

It's possible to omit the terminating semicolon in a tag. Example: <table> <th><td>Name</td><td>Email</td> <? foreach ($receivers as $receiver): ?> <tr>...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images