News for hackers. Stuff that matters.
Re:Show HN: tool for commodity traders, brokers and analysts. by TeMPOraL on Wednesday November 23, 2011 @12:26PM (#3270789)
I'm no expert in webdev, but while CSS comments may be useful for maintenance and for new team members, they are also a waste of bandwidth. I'm honestly curious, what HN webdevs do with comments in CSS - do you use them, or not, or maybe have some deployment scripts that strip comments off?
Re:Show HN: tool for commodity traders, brokers and analysts. by herge on Wednesday November 23, 2011 @12:33PM (#3270803)
Ideally, you would use a tool like less or sass to generate your css (which we don't), so your comments would be in the underlying file but not in the css given to the user.
Re:Show HN: tool for commodity traders, brokers and analysts. by ahrjay on Wednesday November 23, 2011 @04:04PM (#3271715)
Of course web devs use them, but like you said it's a waste of bandwidth so the production version should be minified and combined.