3 ms·
Pages made by decent developers are not a mess. Certainly orders of magnitude less messy than handling all your presentation in code, mixed with business logic
by ricardobeat 15y ago
Pages made by decent developers are not a mess. Certainly orders of magnitude less messy than handling all your presentation in code, mixed with business logic and controllers.
Separation of presentation and content allows for information to be accessible by everyone, indexed/readable by machines, adaptable to different displays. It's also easier to maintain (content editors can't mess with layouts) and makes many performance improvements possible.
The HN site has no special reason to use tables, it's perfectly possible to render this layout using semantic, clean markup. CSS has come a long way since 1999.
- gnaritas 15y agoBut nowhere near as easy or as cross browser compliant, especially at the time this code was written.
- ricardobeat 15y agoWell, we are allowed to evolve.
- rimantas 15y agoIt may be true if HN code was written before 2001.
- gnaritas 15y agoIt's still true now; IE6 still has a decent number of users especially in the corporate world and no CSS solution is as simple and direct as tables even today.