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

CSS was made to style and place text on a page, not position buttons or define interactions or transitions or platform delineation or any of the other crazy things a view controller does in a compiled language.

Its an add-on to a markup language also built mostly only to display text.




And the first computers were humans (women) doing things like plotting missile trajectories for the military. Technologies drift.


We no longer use humans to do our computing, but we continue to use CSS to do our HTML styling.


To the authors of the comments beneath this one:

A more constructive angle to this debate would be to compare HTML/CSS to other declarative UI frameworks such as those in QT and iOS and discuss what features need to be added or removed to make HTML/CSS more maintainable and less painful.

We all know the history of HTML and we're aware of the path it's evolution has taken.

Are you arguing that it's inherently unfixable and needs to be scrapped? I think you'd have a tough time arguing that point so why not move the debate forward instead of playing the curmudgeon?


Even then, if you plan things correctly and involve javascript for changes on the fly, it works quite well at positioning elements on the page, show results of interaction, performing transitions, and many of the other crazy things a view controller does.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: