News for hackers. Stuff that matters.
Re:Ask YC: Why is YC's layout table based? by mrtron on Friday January 18, 2008 @04:01PM (#100504)
smacks head

Not this again...

The answer being who gives a shit? Does it look fine in most browsers?

Re:Ask YC: Why is YC's layout table based? by run4yourlives on Friday January 18, 2008 @05:49PM (#100560)
>The answer being who gives a shit?

As a web developer, you should. It will save you work in the long run (see below).

As a hacker, you should, the same way you care about the beauty of readable code in any other language.

As a business owner, you should, because it will save you money, in bandwidth costs, future maintenance, training etc etc.

>Does it look fine in most browsers?

It looks fine in most browsers because the browser decided to make it look fine. That doesn't mean that it'll look fine in the browser everyone is using tomorrow. That means more work for you down the road, for no particular reason.

Do I care about it? No, not really. But I do get a little annoyed at hackers that concern themselves with code elegance in every language except HTML.

Re:Ask YC: Why is YC's layout table based? by imsteve on Friday January 18, 2008 @05:55PM (#100570)
> It will save you work in the long run

That's the biggest lie of them all. And maintenance? No one does that, they do re-writes. How many hours have I wasted on this joke of not using tables?

Re:Ask YC: Why is YC's layout table based? by run4yourlives on Friday January 18, 2008 @06:11PM (#100592)
Have you ever operated a website with over a hundred pages? Just curious.

And as far as hours wasted, having coded both ways, and originally viewing css as stupid and more work, I can now code a website in half the time using it than tables.

In fact, when I'm just hacking something quick, it's great not to bother with any layout at all and just come back to it when I have the time. You can't do that with tables.

Re:Ask YC: Why is YC's layout table based? by Xichekolas on Friday January 18, 2008 @08:46PM (#100686)
Who maintains 'hundreds of pages' of HTML? Don't you offload everything into templates or dynamically generate it? The last time I managed hundreds of pages of html, or even html with dynamic content spliced in, was in 2001, and that was against my will.

A quick rewrite took care of that too. HTML is an output format, not a language.

Re:Ask YC: Why is YC's layout table based? by run4yourlives on Friday January 18, 2008 @09:03PM (#100697)
As an output format, it should be easily altered to display in various forms.

CSS with semantic HTML achieves this, embedded presentation does not.

Re:Ask YC: Why is YC's layout table based? by imsteve on Friday January 18, 2008 @09:18PM (#100706)
> achieves this

The hell it does... Not to mention that separating the two is such a futile waste of time in so many cases.

Re:Ask YC: Why is YC's layout table based? by mrtron on Friday January 18, 2008 @07:51PM (#100642)
I was a lead developer on a massive website...

If you are a programmer on a large site you won't touch the design. It will be done by a skilled designer, or designing firm. You won't care how its done whatsoever.

There is a lot more to say here...but basically you won't touch the design. Or want to. Or care how its done :)

Re:Ask YC: Why is YC's layout table based? by run4yourlives on Friday January 18, 2008 @07:56PM (#100649)
Which is why you shouldn't be using HTML to "present" data. You do exactly this when you attempt to use tables for things other than tabular data.
Re:Ask YC: Why is YC's layout table based? by sbraford on Friday January 18, 2008 @11:17PM (#100768)
Boy, would I love to never have to think of XHTML/CSS.

The reality has always been quite different.

At least churning out valid XHTML+CSS from Photoshop designs has now become a commodity business: http://onwebapps.com/39-photoshop-psd-to-xhtml-css-services/

Re:Ask YC: Why is YC's layout table based? by cedsav on Friday January 18, 2008 @05:58PM (#100574)
I'm sorry you haven't seen the light yet, brother :-)
Re:Ask YC: Why is YC's layout table based? by halo on Friday January 18, 2008 @04:18PM (#100519)
Who gives a shit? Hackers. And, y'know, with this happening to be Hacker News and all, it works.
Re:Ask YC: Why is YC's layout table based? by imsteve on Friday January 18, 2008 @05:51PM (#100563)
You can't "hack" html or css, they aren't languages. Furthermore, CSS is a lie. A lie for designer snobs.
Re:Ask YC: Why is YC's layout table based? by cedsav on Friday January 18, 2008 @05:56PM (#100571)
...says the developer snob.
Re:Ask YC: Why is YC's layout table based? by imsteve on Friday January 18, 2008 @08:48PM (#100688)
You can use tables or css, I don't care. Forcing one over the other is rediculous though. And yes, only snobs insist on never using tables.
Re:Ask YC: Why is YC's layout table based? by randallsquared on Friday January 18, 2008 @06:02PM (#100576)
Oh, so when everyone keeps saying the cake is a lie, they mean "CSS" by "the cake"?
Re:Ask YC: Why is YC's layout table based? by imsteve on Friday January 18, 2008 @08:53PM (#100692)
And where do smart people put their cake? On a table, that's where.
Re:Ask YC: Why is YC's layout table based? by jfoutz on Friday January 18, 2008 @07:28PM (#100630)
It's been pointed out that HTML is not Turing complete. You can interpret a page as a state and a link as a transition. That makes HTML the equivalent of regular expressions. Definitely worthy of the title hack.
Re:Ask YC: Why is YC's layout table based? by cedsav on Friday January 18, 2008 @05:51PM (#100562)
Does it matter for this site? No.

Should you, as a developer (ahem... I mean hacker), care about the quality of the markup your app is producing. Definitively yes..

Re:Ask YC: Why is YC's layout table based? by sbraford on Friday January 18, 2008 @11:14PM (#100765)
My only problem with table nazis is when they do their job poorly.

i.e. they insist on a tableless layout, yet when you look at their design in IE6/7, the right sidebar always seems to end up at the bottom of the page.

So instead of working on real code / markup, you always seem to be fixing a broken sidebar CSS issue, due to insistence on not using tables. (i fix these problems in 5min w/ a table-based layout)