TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Y Combinator site has 66 Errors

13 点作者 cognitvesystem将近 10 年前

10 条评论

bfioca将近 10 年前
Thinking as a founder/hacker - it's totally fine. Fixing those errors would have no effect on the user experience. There are no viewers that aren't using the site because of those errors. Fixing them would take time that can be more valuably spent elsewhere.
ColinWright将近 10 年前
Be generous in what you accept, strict in what you provide.<p>Without that general principle the internet would <i>never</i> have got working. Even now, &quot;standards&quot; shift, and it&#x27;s important that older sites don&#x27;t simply stop working because of things that were once perfectly valid becoming slightly out-of-fashion.<p>Complexity is like a dead cat under the carpet. You can push it around all you like, but it will still be there, and someone still needs to deal with it.<p>It&#x27;s just a shame that after a while it starts to smell, and the smell is hard to get rid of.
评论 #9711813 未加载
k__将近 10 年前
If browsers didn&#x27;t have to accept faulty pages, they would probably much much smaller, less complex and more efficient.<p>But we moved all this complexity into browsers. So only the few browser manufacturers are in need of highly skilled devs and the rest of the world can stick with &quot;us&quot; ;)
readme将近 10 年前
Many of the pages on w3c.org&#x27;s own site do not validate completely. The front page validates as XHTML strict, but the other pages linked to from it have errors and are supposed to be HTML5 according to the doctype.
davelnewton将近 10 年前
Some of the &quot;errors&quot; you point out are only barely even errors, like missing `alt` attributes (nice for accessibility, not so helpful when the image isn&#x27;t actually content).<p>Others like using empty trs for spacing is just old-school HTML wrangling. Could it be improved? Sure. Does it actually <i>matter</i>? Only barely.<p>Many of the errors are dupes; if you roll them up there are significantly fewer &quot;errors&quot;. Which makes sense, because the HTML on HN is trivial to begin with, by design.<p>What was the point, even?
readme将近 10 年前
YC doesn&#x27;t even have a &lt;!doctype&gt; declaration. It&#x27;s obvious to me that the authors know the browser is going to run in quirks mode and don&#x27;t care.<p>It obviously works.
Kenji将近 10 年前
Making a website compliant is like manufacturing your product with twice the precision necessary - for no reason whatsoever. But it&#x27;s fun - if you&#x27;re a masochist.
J_Darnley将近 10 年前
Why aren&#x27;t you complaining that you checked against HTML 4.01 Transitional rather than 5, or 6, or whatever version you cutting edge people demand? You could then jack it up to 144 errors!
seiji将近 10 年前
fun fact: pg hand-wrote the (original) news.yc http server (in arc) and it wasn&#x27;t standards compliant. it terminated newlines with &#x27;\n&#x27; instead of &#x27;\r\n&#x27; causing much pain when trying to integrate any external tools. but, browsers accepted it, so it wasn&#x27;t worth fixing.<p>Plus, let&#x27;s ignore the whole &quot;we only learned HTML in 1995 and never looked modern practices again&quot; thing too because, well, it still works. Sometimes it&#x27;s worth spending 5 hours making something just work using what you know instead of spending 500 hours making something ideologically pure.
评论 #9712373 未加载
cognitvesystem将近 10 年前
I hate html why the hell browser the site still work properly even if it has 66 errors
评论 #9712345 未加载
评论 #9712311 未加载
评论 #9712288 未加载