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

it's the typical developer response, that all concepts, no matter how abstract, should be captured in Code.

In saying that, it's easier to shove a bunch of classes into your html, and that's kind of what the multipurpose class tag is for. As to whether the binding should be done via css selectors or via html classes... well, I think the appropriate phrase is "6 of one, half a dozen of the other".

I've done most things both ways at some stage or another, and the maintenance is the same, the complexity is the same, and there's an advantage to having a label directly on the html node, that tells you what the hell is being applied to it.



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

Search: