Hacker News new | past | comments | ask | show | jobs | submit login

Well, Paul Graham became popular by writing online essays about Lisp, which was invented in 1960 and went out of vogue during the AI winter of the 1970s. Then he started Y Combinator and wrote Hacker News in a dialect of Lisp. If you think old tech is bad, why are you here? ;-)

More to the point, I think the discussion of tables vs CSS is worth reopening, because the original arguments in favor of CSS focused on having clean semantic HTML, and we all see how that turned out. Just go to http://reddit.com/ and view the source, you'll see <div class="spacer"> staring you in the face. So that argument is a wash. As for the specific drawbacks of CSS compared to tables, I think the original comment covered them well.




1. It's pretty easy to find stories of somebody having success using an old technology, but it's even easier to find examples of old technologies being replaced by something better.

2. Finding somebody successfully bashing a nail into a wall with a shoe doesn't mean we should all throw away our hammers.

3. If we get into the drawbacks of CSS vs tables, tables are going to lose. I can think of two situations where tables will win - lack of developer skill (yes, tables are easier to learn quickly), and needing to support old browsers more than new ones. Whereas CSS will win on responsiveness, performance, workflow, third-party tools, features, maintenance, accessibility, flexibility, semantics, and just about every other area of front-end development you care to mention.

EDIT: Here's an article from 2003 (!) that makes the same points. As CSS has improved, the arguments have become stronger.

https://www.hotdesign.com/seybold/03overview.html


I wouldn't really use reddit as an example of quality CSS styling. Yes, it can be used improperly. It can also be used to create clean semantic HTML. Table-as-layout cannot.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: