<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: greg0r</title><link>https://news.ycombinator.com/user?id=greg0r</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sun, 26 Apr 2026 08:44:13 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=greg0r" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by greg0r in "Show HN: Nue – Apps lighter than a React button"]]></title><description><![CDATA[
<p>If the authors of this project mean to say that a button in react wouldn’t work without including the react library (which is why the button is supposed to be 73kb), it’s a weak point, because the react library would be reused by other parts of the app bundle at this point.<p>This is misleading to people and the promise is so shallow that it almost feels insulting.</p>
]]></description><pubDate>Tue, 01 Apr 2025 07:51:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=43543978</link><dc:creator>greg0r</dc:creator><comments>https://news.ycombinator.com/item?id=43543978</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43543978</guid></item><item><title><![CDATA[New comment by greg0r in "Tailwind vs. Semantic CSS"]]></title><description><![CDATA[
<p>This article makes a couple of false/misleading claims. But let me write about what it presents as a better (old) practice compared to TailwindCSS first:<p>“Semantic CSS” is not a standard, like semantic HTML follows certain rules that are widely accepted. At the end of the day, everyone is writing their own “button” CSS class, and it is different on every website you look at. It doesn’t help whether you name something “.nav” or “.gallery” if you are the first person deciding the CSS rules for it. Your code might be “semantic” in your personal understanding of how things should be named, but your naming convention is useless to others who have to maintain your code and still need to look up what “.gallery” actually means. So, from my understanding this is part of the reason TailwindCSS exists: transparent markup and improved maintainability in the long term.<p>As stated above this article makes a couple of false/misleading claims. For example:<p>- With TailwindCSS “you are forced to wrap divs inside divs inside divs”. Not true. I'm writing TailwindCSS code for a couple of years now and can confidently say that this is NOT what Tailwind forces you to do. You don’t need extra HTML markup to make Tailwind work. Your HTML can be perfectly “semantic” without wasted divs.<p>- “… utility-first approach lacks the power of CSS selectors”: Not true. TailwindCSS comes with grouping and child selector classes, for example.<p>- It also states that Tailwind styles elements exclusively inline, which is also not correct. They encourage you to name things as well but warn you of premature abstracting in their docs (<a href="https://tailwindcss.com/docs/reusing-styles#extracting-classes-with-apply" rel="nofollow noreferrer">https://tailwindcss.com/docs/reusing-styles#extracting-class...</a>).<p>———-<p>I also can't help but feel a little patronized by the tone of this article. Examples:<p>- “Mastering CSS requires practice”<p>- “But when you truly master CSS, there is no turning back” (and you don't need Tailwind)<p>- You only require Tailwind when you have a “bad CSS structure” or you don't care about your code (<a href="https://nuejs.org/blog/tailwind-vs-semantic-css/#but-i-move-faster-with-tailwind" rel="nofollow noreferrer">https://nuejs.org/blog/tailwind-vs-semantic-css/#but-i-move-...</a>).<p>If I was new to coding, these statements would discourage me trying out new things. I don't know how you learned to code, but sticking to the fundamentals didn't get me anywhere. Yes, you need to learn them, but you also want to get things done (and figure out later how they work). Writing CSS is not an ancient art, it’s not pretty or a noble thing to do.</p>
]]></description><pubDate>Mon, 23 Oct 2023 12:12:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=37984549</link><dc:creator>greg0r</dc:creator><comments>https://news.ycombinator.com/item?id=37984549</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37984549</guid></item></channel></rss>