Consistent use of double or single quotes in HTML(labs.kollegorna.se) |
Consistent use of double or single quotes in HTML(labs.kollegorna.se) |
Still, this will invariably lead to a few arguments behind closed doors:
- "We should obviously standardize on single quotes, since they're shorter than double quotes and save more space!"
- "Our site serves up dozens of pageviews a day – let's spend the next week scrubbing our markup for consistency!"
- "If you're using mixed quotes in your markup, you're Doing It Wrong!"
I think consistency makes code look nicer and perhaps a bit more readable, but lets not kid ourselves that this leads to any meaningful improvements.
I totally agree about consistency though; I even take the minor performance hit when interpolation is unnecessary by using double quotes anyway so that all uses of double and single quotes are consistent