TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Y Combinator site has 66 Errors

13 pointsby cognitvesystemalmost 10 years ago

10 comments

bfiocaalmost 10 years ago
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.
ColinWrightalmost 10 years ago
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__almost 10 years ago
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; ;)
readmealmost 10 years ago
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.
davelnewtonalmost 10 years ago
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?
readmealmost 10 years ago
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.
Kenjialmost 10 years ago
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_Darnleyalmost 10 years ago
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!
seijialmost 10 years ago
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 未加载
cognitvesystemalmost 10 years ago
I hate html why the hell browser the site still work properly even if it has 66 errors
评论 #9712345 未加载
评论 #9712311 未加载
评论 #9712288 未加载