Created
January 2, 2011 01:58
-
-
Save mojombo/762200 to your computer and use it in GitHub Desktop.
XML Comments Suck
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<container> | |
<thing /> | |
<!-- | |
I think this is the least horrible way to format XML comment | |
blocks. Even though it wastes two lines, at least it doesn't | |
involve tons of indenting or horribly misaligned edges. | |
--> | |
<fooblah size="10" count="alot" /> | |
</container> |
Tell me about it. At least it has support for comments, though! @getify has been trying to get people interested in a dialect of JSON that allows comments. That wouldn't go far enough for me - I want multiline strings.
I agree.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I agree. I do the same thing when I need to write lengthy HTML comments.