Live data from Hacker News

Ask YC: Why is YC's layout table based?

news.ycombinator.com

21–30 of 93 posts

Re: Ask YC: Why is YC's layout table based?

#21
post #8
post #4

Earlier quoted context omitted.

That is. Table is 'not optimized object code' compared to lists. So you should ask: why your object code is not optimized (and it slow loaded and slow rendered on my PC :).

How old is your computer? I've found news.yc load times are close to instant.

>How old is your computer?

On the internet, it shouldn't matter. :)

Re: Ask YC: Why is YC's layout table based?

#22
post #6

smacks head Not this again... The answer being who gives a shit? Does it look fine in most browsers?

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?

#23
post #11
post #6

smacks head Not this again... The answer being who gives a shit? Does it look fine in most browsers?

Who gives a shit? Hackers. And, y'know, with this happening to be Hacker News and all, it works.

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?

#24
post #17
post #13

CSS is used for two purposes: for styling and for layout. In my mind, the value obtained by using CSS for larger site layouts is not much. Usually, the claim is that CSS layouts help you re-target the content for another device and stuff, easily. Based on my experiences, I think that's a grand dream not likely to come true. You have almost completely re-think your UI when you are developing for a different device. Re…

I agree. CSS as a layout system is poorly thought out and even more poorly implemented. Why, to center an object, do I have to remember trivia like "the parent needs a width." You need hacks and non-intuitive tricks for cross-browser CSS. Tables are verbose, but they "just work" more often. I still use CSS layouts, but man what a steaming pile.

>Why, to center an object, do I have to remember trivia like "the parent needs a width."

Because you're still viewing the page as a table. Once you stop doing this, you stop asking questions like these.

Re: Ask YC: Why is YC's layout table based?

#25
post #13

CSS is used for two purposes: for styling and for layout. In my mind, the value obtained by using CSS for larger site layouts is not much. Usually, the claim is that CSS layouts help you re-target the content for another device and stuff, easily. Based on my experiences, I think that's a grand dream not likely to come true. You have almost completely re-think your UI when you are developing for a different device. Re…

>You have almost completely re-think your UI when you are developing for a different device. Re-using CSS layouts is nearly impossible for that.

You don't re-use the CSS, you re-use the HTML. That's the point. All it needs is a new style sheet, not a whole new webapge.

Re: Ask YC: Why is YC's layout table based?

#26
post #10

I think PG must have known, what I only ended up finding out myself after trying too hard to make everything CSS, is that it doesn't always need to be. I kinda wish I could have an outter body experience +add that with time travel, and go back a few months so I can kick my old self in the ASS(twice) for wasting hours trying to make a forums page in all CSS, only to give up and accomplish it with tables, in what felt…

CSS has a learning curve yes, so it always going to seem harder than it should be in the beginning, but otherwise it shouldn't make a difference time-wise to create a table or css based layout.

Re: Ask YC: Why is YC's layout table based?

#27
post #6

smacks head Not this again... The answer being who gives a shit? Does it look fine in most browsers?

>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 becaus…

> 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?

#28
post #23
post #11

Earlier quoted context omitted.

Who gives a shit? Hackers. And, y'know, with this happening to be Hacker News and all, it works.

You can't "hack" html or css, they aren't languages. Furthermore, CSS is a lie. A lie for designer snobs.

...says the developer snob.

Re: Ask YC: Why is YC's layout table based?

#29
post #16

Earlier quoted context omitted.

Tables are embedded in the Arc code for news.yc, as brett mentioned, but probably it could be rewritten in a few hours for a list-based layout. Of course, changing the layout would require an Arc developer, which is the disadvantage to not using templates. You may have noticed that most hackers seem to think web design is unimportant and/or should require a programmer for each change.

As a programmer, I can tell you I really don't mind that changing my website requires a programmer. It's perfectly convenient for me. The only reason to do something differently is a client requirement, or a desire on my part to get someone else to do stuff for me.

> As a programmer, I can tell you I really don't mind that changing my website requires a programmer. It's perfectly convenient for me.

That's refreshingly honest. :)

Re: Ask YC: Why is YC's layout table based?

#30
post #27

Earlier quoted context omitted.

>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 becaus…

> 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?

I'm sorry you haven't seen the light yet, brother :-)
Post reply on HN