Hacker News.love – 22个Hacker News不喜欢的项目
Hacker News.love – 22 projects Hacker News didn't love

原始链接: https://hackernews.love/

Hacker News上的一场激烈讨论显示,Tailwind CSS 最初受到强烈质疑。批评者认为它违反了CSS将样式与结构分离的核心原则,本质上重新引入了类似于过时HTML属性 `` 的内联样式。许多人认为它破坏了CSS本身的意义,并且没有比过去的“不良实践”有所改进。 然而,尽管最初存在广泛的抵制——类似于React早期受到的批评——Tailwind CSS迅速获得了巨大的流行度。它已成为全球下载量最多的CSS框架,每月拥有超过1亿的npm下载量,并受到Shopify、OpenAI、Netflix甚至GitHub等大型公司的青睐。这段文字强调了早期认知与框架最终成功之间的脱节,展示了开发者采用如何违背最初的批判性评估。

一个名为“Hacker News.love”的新网站列出了22个 Hacker News 社区似乎“不喜欢的”项目,依据是负面评论。然而,Hacker News 上关于该网站的讨论很快就对这种说法提出了批评。 许多人认为该网站过于简化了复杂的反应,指出项目通常会同时收到赞扬和批评。一位用户强调将批评等同于缺乏市场可行性的危险性,尤其是在涉及社会影响问题时。另一些人指出该网站的设计具有讽刺意味地令人恼火,并且对 Tailwind CSS 等技术的批评至今仍然有效。 一个共同的主题是,任何项目都会获得积极和消极的反馈,而有选择地挑选评论来支持某种叙述具有误导性。这场讨论最终质疑了该网站的前提和方法论。
相关文章

原文

I don’t understand Tailwind. The entire point of CSS is to separate style from structure. How does applying composable utility classes differ from the old days of using HTML attributes for styling?

_AzMoo

This is essentially the same as inlining all of your styles in a style attribute on every element. I don’t see how you would ever reasonably want to use this in a project.

Etheryte

Wasn’t the whole point of CSS to separate presentation from data, and move away from things like <font color=...>? This is still considered bad practice, right?

aspyct

I don’t get it either. Start putting CSS in the style attribute while you’re at it.

devmunchies

The emperor has no clothes.

encom

The exact same ‘separation of concerns’ argument was levelled against React in 2013. HN missed it twice.

What happened

Tailwind CSS became the most-downloaded CSS framework in the world with 100M+ npm downloads per month. It’s now the default styling choice for millions of developers, used by Shopify, OpenAI, Netflix, and GitHub itself.

联系我们 contact @ memedata.com