Re:“Variables” in CSS are harmful (2008)
by dkonofalski on Tuesday January 02, 2018 @07:05PM
(#16057138)
I especially dislike this type of pairing because it makes it an explicit requirement for the content and presentation to be together. I prefer content to be separate from styling, as intended by CSS, simply because we can't predict what the future will bring. Content will always remain content when it's semantic but presentation can and will change as time goes on.
[ Parent
| on HN ]
Content and presentation both change, and together. That's how it's always been for every type of media. How much space you have on the newspaper determines what your article's title is, but what the title is also determines how much space you have.
Re:“Variables” in CSS are harmful (2008)
by dkonofalski on Wednesday January 03, 2018 @05:41PM
(#16066067)
No they don't. I can write a paper or a thesis without any worry about how it's going to look visually to the person consuming it. I can post a video of something without any kind of concern for what size, container, or surrounding content might accompany it.
Content is content. Presentation is how that content is displayed. While they can work together, the content is the most important thing and presentation should always be secondary to it.
Re:“Variables” in CSS are harmful (2008)
by zeveb on Wednesday January 03, 2018 @12:41PM
(#16063043)
It was just an example. One could have ((link rel stylesheet href "http://host/path/foo")) still.
Re:“Variables” in CSS are harmful (2008)
by dkonofalski on Wednesday January 03, 2018 @05:42PM
(#16066076)
Sure. I was just commenting on the fact that I've seen this type of setup everywhere lately and the content and presentation are inextricably linked. To me, that's a major problem.