News for hackers. Stuff that matters.
Re:Show HN: I decided to document and share my high-level CS... by indubitably on Monday March 12, 2012 @12:42PM (#3694243)
I don’t like .this-is-correct{} because sometimes you have the same variable name in Javascript too, where dashes won’t work.
Re:Show HN: I decided to document and share my high-level CS... by intranation on Monday March 12, 2012 @12:57PM (#3694318)
Dashes map more cleanly to existing CSS syntax, eg nth-child, background-color, etc. Much like camelCase looks more like Javascript than my_variable.