Hacker Newsnew | past | comments | ask | show | jobs | submit | grzes's commentslogin

tailwindcss is an anti-pattern that breaks fundamental rule of software engeneering - separation of concerns. just learn how to use CSS - it will benefit you in the long run. i suspect they will be "paywalling" more and more features in the future.


As if CSS is pinnacle of software engineering. You can't learn it, you have to keep up all the damn time. It was an elegant concept for its time but it ran off rails, hence all the hacks. Can't we move on? FE webdev is duct tape over duct tape with chewing gum here and there. These days, when I fire up the inspector, the output is panic-inducing. There has to be a better way.


HTML and CSS are not a separation of concerns in anything I've ever built. They're both representing the layout/design. I don't want them separate.

You end up having to keep them synchronized anyway, messing with your HTML is frequently gonna break your CSS. Tailwind is infinitely more pleasant to write than a separate CSS file that has to be kept in sync with the HTML.


dude, have you heard about single file components where you have HTML & CSS in one place? XD


You're destroying your own argument.


> separation of concerns

> everything in one place


cursor is a scam. they pissed me with their UI changes & shady pricing, so i tried claude code recently for the first time and instantly regreted i havent tried earlier


Built an awesome 450k line app with composer 2.5 and grok 4.5. I love it


i was quite shocked to learn that cursor is not scoped to current workspace, recently it just traversed my projects dir outside my current workspace and looked for patterns in code.


tailwind is an anti-pattern that breaks separation of concerns rule. i'm amazed how it became so popular.


Because it’s a made up rule, not a law of nature. Having the styles inline on a component is very easy to reason about, it was just extremely impractical with CSS and the style attribute. Tailwind makes it easy, practical, and is actually well designed regarding its support for variables (ie. you can have a sane design system easily).

What you want to share/cascade is variables, not styles. Styling components makes it easy to make sure the styling of each component is isolated and doesn’t have unintended cascading effects. When working this way, using Tailwind is as much a good pattern than, say, CSS modules (which I like too).


is a pity that Hetzner does not have monitoring agent like DO. in DO you can set alerts and view all metrics. its this one thing that keeps me from migrating because i dont want to install custom monitoring solutions.


Next iteration of JellyOcean https://jellyocean.com - A free service that lets you create Jellyfin servers in the cloud.


should cats drink milk?


No, they're lactose intollerant - or do you mean kittens?


can anyone recommend me good, battle-tested "slider" solution for playing videos as well as displaying images from single gallery? ideally capable of handling huge galleries (hundreds of items) with lazy loading


Not a today answer, but this is something I'm excited to build within the new Presets concept of video.js v10, where we can build specific "video interfaces" beyond a standard player using the composable architecture.

https://videojs.org/docs/framework/react/concepts/presets


I've used https://yet-another-react-lightbox.com/ in anger and it's great, very extensible too.


That only works in React though.


the only thing that keeps me from migrating from DO to Hetzner is the lack of monitoring agent on the latter. its really nice to set up some hdd & cpu alerts from within cloud provider control panel directly.


just use google tasks? hello? it has notification and calendar integration


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

Search: