logoalt Hacker News

namuolyesterday at 10:25 PM2 repliesview on HN

The deadest horse in web development is the myth of “separation of concerns”


Replies

IgorPartolayesterday at 11:55 PM

I was recently doing some very specific web scraping of some very public very static documents. About 25% of them use a soup of divs with hashes for class names. Not a <main> or <article> or <section> in sight. I am fine with the idea of what tailwind does but like at least using semantic tags where appropriate could be a thing.

appplicationyesterday at 10:48 PM

You can separate concerns without violating locality of behavior, and that’s exactly what tailwind does.

It admittedly does not do a good job at being very DRY but I think that’s poorly applied to HTML/CSS in general, and the most DRY css is often over abstracted to the point of becoming nigh uninterpretable.

show 1 reply