Live data from Hacker News

Ask HN: Why is HN HTML laid out in tables?

news.ycombinator.com

1–10 of 40 posts

Ask HN: Why is HN HTML laid out in tables?

#1
Hacker News is certainly not HTML5 friendly. Heck it doesn't even validate in HTML4 http://validator.w3.org/check?uri=http%3A%2F%2Fnews.ycombinator.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

Hacker Newsnew | comments | ask | jobs | submit | joeybaker's commentslogin …………

Re: Ask HN: Why is HN HTML laid out in tables?

#6
Here's pg's official answer (http://news.ycombinator.com/item?id=1998708) :

why is the UI so completely neglected?

Because when I spend time on HN my top priority is features that will make the content better. I believe that matches the priorities of the users-- that users would rather use a site with good stories and comments and a primitive UI than one with a slick UI and worse stories and comments. And time is a zero-sum game. Spending more time on UI = spending less on quality.

The focus on content quality above all is the reason you find yourself saying later "If there were any other community like this..."

[...]

Re: Ask HN: Why is HN HTML laid out in tables?

#7

Because despite what the CSS purists say, tables work damn well for laying out content.

Just like an iPad works as a door stop.

edit: heh, downvotes. I am not a "css purist" there are times when tables are the correct solution, but they aren't here. Just because "it works" can be said that doesn't explain/justify their use.

Re: Ask HN: Why is HN HTML laid out in tables?

#8

Because despite what the CSS purists say, tables work damn well for laying out content.

Do you really think that the only reason to use CSS over table is because of purists? CSS is much easier to manage than tables and css frameworks have fixed all issues related cross-browsers problems.

Re: Ask HN: Why is HN HTML laid out in tables?

#9
post #6

Here's pg's official answer ( http://news.ycombinator.com/item?id=1998708 ) : why is the UI so completely neglected? Because when I spend time on HN my top priority is features that will make the content better. I believe that matches the priorities of the users-- that users would rather use a site with good stories and comments and a primitive UI than one with a slick UI and worse stories and comments. And time is a…

The OP isn't talking about Ajax calls and Dom transformations. He's talking about using semantically correct markup (c'mon, it is literally an ordered list) and a style sheet. Things that would make the site faster, easier to maintain, and easier to parse.

If this were anyone other than pg, you'd all be excoriating the developer for living in the 90s.

Re: Ask HN: Why is HN HTML laid out in tables?

#10
I rewrote the HN markup to use XHTML + CSS + MicroFormats last year, but never got a chance to re-write the actual templating code in news.arc (http://www.arclanguage.org).

If anyone's interested in finishing that last part, let me know and I'll be happy to send you the templates and stuff I made. I also added some rudimentary support for mobile-specific stylesheets and scripts.

Post reply on HN