Hacker News new | past | comments | ask | show | jobs | submit | wauter's comments login

This article explains the reasoning pretty well:

https://adamwathan.me/css-utility-classes-and-separation-of-...


Hmm. Thanks for the link; I can see where that argument comes from.

But doesn't that entire line of thinking disappear if one just uses scoped CSS inside components? Everything in that link assumes that all CSS rules are global, and it runs through BEM and then tailwind as a way to avoid putting component-specific rules in the global CSS file.

But if you just use a frontend framework with SFCs, you can treat each component as a module with its own local style rules. If there's no global CSS file to edit, don't BEM and Tailwind become irrelevant, since the problem they solve no longer exists?


That's exactly my perspective. Tailwind tries to make inline CSS workable, but there are so much better options in available in a frontend frameworks.


I hereby submit “regression to the population mean”.


Great project!


I think that’s exactly the kind of subtle thing he is trying to capture in this essay: we read ‘unorthodox’ and we get ready, almost as a subconscious reflex, to dismiss whatever comes next as, like you put it, ‘blatant Xism’, or as Paul puts it, false.

Check your privilege ;)


Does what it needs to do, and in a pretty slick way as well! Nice work.


So, is there an explanation somewhere of what they do?


Also, the part to get from 'this demonstrates what I had in mind' to 'actual finished, truly functioning project', is just... Dull. It's bugfixing, stepping back and realizing there's security issues, and whatnot. It's the stuff we associate with getting paid for, basically :)


Just curious: why is there nothing anounced on 99dresses.com about this? Will the business go on after all? Are we in the final days and will it then just suddenly out of the blue shut down?


Here's a great (and by now almost classic) article on that subject: http://nymag.com/news/features/27840/


Thanks!


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

Search: