5 ms·
If one needs a closing slash to be reminded which of the five or so tags are self closing, one has far more issues than needing a closing slash.
by sureaboutthis 8y ago
If one needs a closing slash to be reminded which of the five or so tags are self closing, one has far more issues than needing a closing slash.
- anoncake 8y agoIssues like being a parser?
- underwater 8y agoMy point is that not that remembering things is hard, it's that it feels like a hack. Developers gravitate to solutions that feel elegant.
- sureaboutthis 8y agoPutting the slash in, as I said, is there for backwards compatibility only, not elegance, and it could be removed at any time since this backwards compatibility issue no longer exists, or is of minor consequence nowadays. It is far, far better to read and follow the standard specification and not follow a whim that makes you feel good. These are the things that will burn you first.