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

Separation content and style works perfectly well. Just people never bother to learn neither HTML nor CSS and rely on some generated monstrosity, be it generated by WP or React.


It works for me mostly only theoretically. When I have to apply it at scale I run into the practical problems that people mention here; 1 big namespace, mostly.


Do you mean conflicts or spillovers?

Because, as I said elsewhere in the thread, I think (maybe wrongly) that simple linting could rid you of the vast majority of these problems.

But, please, if you mean something else, do comment! I very much like this discussion.


For me I meant coming up with a name that semantically describes this area of the HTML, that I haven't already used.


Well, don't you already name component file after it? Maybe I still misunderstand...




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

Search: