←back to thread

451 points todsacerdoti | 1 comments | | HN request time: 0s | source
Show context
b_e_n_t_o_n ◴[] No.45060146[source]
I really do appreciate the nesting they've added but looking at it as a whole, CSS is a really strange and in my humble opinion, a terrible language. Perhaps I'm just holding it wrong, but it's just so complicated and messy, it sometimes feels like you're just arranging arcane runes in different ways until you make it sort of work for you. It's both a system for styling text based on inheritance, and a layout system for block and inline elements, nested recursively but without inheritance, only containment. I think it was a mistake to combine styling and layout, and I don't feel like adding more and more capabilities to something fundamentally broken can fix it.
replies(11): >>45060383 #>>45060483 #>>45060957 #>>45061557 #>>45061852 #>>45062092 #>>45062151 #>>45062384 #>>45063859 #>>45067840 #>>45069507 #
archerx ◴[] No.45060957[source]
“I believe a lot of the negativity towards CSS stems from not really knowing how to use it. Many developers kind of just skip learning the CSS fundamentals in favor of the more interesting Java- and TypeScript, and then go on to complain about a styling language they don’t understand.”

from the article is talking about people like you, who refuse to learn something properly but have the arrogance to think they know better.

replies(3): >>45060998 #>>45061409 #>>45061995 #
wmil ◴[] No.45061409[source]
That's incredibly arrogant phrasing by both you and the author.

Here's a better explanation of the hostility towards CSS.

Nested flexbox had bugs in IE11, which wasn't end of lifed until 2022. The nested CSS in the article came out in December 2023.

CSS first came out in 1996.

The current state is much improved, but don't pretend there wasn't a solid 20+ years of sucking before that.

replies(2): >>45061506 #>>45063368 #
bryanrasmussen ◴[] No.45061506[source]
>Nested flexbox had bugs in IE11, which wasn't end of lifed until 2022.

how is I hate CSS because IE was poorly maintained a serious argument?

replies(2): >>45063315 #>>45063409 #
1. archerx ◴[] No.45063409[source]
They will cling to any cope they can because it’s easier than learning the tool properly.

“It’s not MY fault, it’s a browser no has used in 10 years fault! I can do no wrong!”