Re: why is closing tag evil?
| From: | Lee Braiden | Date: | Wed, 31 Aug 2005 20:51:08 +0000 |
| Subject: | Re: why is closing tag evil? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20706@lists.php.net to get a copy of this message | ||
On Wednesday 31 August 2005 20:59, Matt Craig wrote:
> In http://pear.php.net/bugs/bug.php?id=1763
> it is said that ?> is evil and therefore not included in the class files
> generated by DO's Generator.php.
>
> Why is it not needed and evil?
Sheesh. I've used closing tags for lots of work without any problems, and it
is more technically correct. Syntax highlighting and code-completing
editors, amongst other things might not like it if you leave such things out.
I say put them in, and just get into the habit of not leaving trailing
whitespaces. A good editor should support automatic trimming of blank spaces
anyway.
--
Lee Braiden
http://www.DigitalUnleashed.com
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]