News for hackers. Stuff that matters.
Re:Ask YC: Why is YC's layout table based? by euccastro on Friday January 18, 2008 @09:25PM (#100710)
This is what comes to mind to me, a CSS ignorant:

1. To the parent, the width of which is known by the layout code of the browser at any moment at 'runtime'.

1a. Fair enough, then it won't show up. But it will not-be-there centered, goddammit!! >:)

2. Which is a very fair question, and how languages get better.

3. That is one way to look at it, the one the language seems to force into you, and apparently it's the least intuitive.

4. If you can get an exactly equivalent effect with other expression, how come you can't have "center horizontally" just become an alias/shortcut/abstraction for that, if newbies expect it?

Then again, this is only an issue for hand-coded CSS. If you use your HTML/CSS as object code, this is easy enough to abstract in your generating code.

Re:Ask YC: Why is YC's layout table based? by palish on Friday January 18, 2008 @09:57PM (#100726)
If you use your HTML/CSS as object code, this is easy enough to abstract in your generating code.

Bingo! And that's one reason Arc is pretty exciting. I'll be able to do the equivalent of center: horizontal, and the details can be abstracted.

Re:Ask YC: Why is YC's layout table based? by euccastro on Friday January 18, 2008 @10:52PM (#100752)
What makes you think Arc will improve on other Lisps in this respect?
Re:Ask YC: Why is YC's layout table based? by Nicolay77 on Saturday January 19, 2008 @07:59AM (#100863)
Hype.