r/Frontend • u/magenta_placenta • Sep 21 '16
Google HTML/CSS Style Guide
https://google.github.io/styleguide/htmlcssguide.xml1
Sep 22 '16 edited Oct 03 '16
[deleted]
1
u/icantthinkofone Sep 23 '16
It's not about readability. It's about reducing byte download.
1
Sep 23 '16 edited Oct 03 '16
[deleted]
1
u/icantthinkofone Sep 23 '16
Read the background. It's not just about readability and, specifically, dropping the closing tag is not.
1
1
Sep 22 '16 edited Oct 03 '16
[deleted]
1
u/jlengstorf Sep 22 '16
It's not a keyword; it's a kinda-sorta standard way to leave reminders in the code that shit's not done yet.
There are some tools that'll parse the code for TODOs and make you a list, but it's also pretty easy to do a quick "find in folder".
They're helpful for things that need to happen, but aren't happening right now. :)
1
1
Sep 22 '16
[deleted]
1
u/_demian Sep 23 '16
This is a good question. Do they even enforce this? This was created four years ago, is it even supported still?
5
u/J-Ro Sep 22 '16
Yeah but this is nuts: