Hacker News new | ask | show | jobs
by globalreset 1033 days ago
Like `style` or `input`?

People got so stuck on JS for decades that they've forgot that HyperText in HTML is there for a reason. It was always supposed to be more than just UI descriptor markup.

It is JS who is out of place in web. A little script in form of DHTML that grew into becoming a cancer that it is now.

1 comments

Is this a trick question? Style attributes are awful. It’s why CSS of any reasonable size is written in separate files.
Tailwind says hi.
I feel a lot of Tailwind's popularity is from people who were not around when inline style attributes were common place.
And I feel a lot of Tailwind’s flak comes from people who never used it.

Having used inline styles in the past, there is no comparison to tailwind. Tailwind is a good and productive, though certainly not ideal tool. But it’s miles ahead of whatever else has been produced by css frameworks, in terms of productivity and maintainability.