Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Right. And the whole point of the article is that using any modern editor, you can easily scan to find an id or class without resorting to one-liners, which do make the attributes harder to read/write/debug/diff.


Finding isn't the problem. It's understanding the intent and structure of the document by looking at multiple selectors at once.


The debugging argument is a joke - who doesn't have some sort of soft wrap option on their editor? what about people who don't write one-line css but tab nested classes (such as the writer of the article)?


Soft wrapping long one-line css selectors completely defeats the purpose of putting it all on one line in the first place.


No, it helps people who like one line. You leave soft wrap off normally, and you see your lines the way you intend. If a line extends off the end of the screen, and you don't want to scroll to see the rest, turn on soft wrap to see, then turn it off again.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: