DEV Community

Discussion on: Is CSS objectively bad?

Collapse
 
stereobooster profile image
stereobooster

On the second thought (I haven't realized this before). I tried to find objective proof for a subjective matter. Categories like "good" and "bad" are subjective. For example, there are no good and bad things in math - negative numbers are bad and positive are good - nope.

What I meant to say is: what are design decisions in the language that leads to a lot of confusion and frustration. And do we have objective arguments for it?

Collapse
 
alohci profile image
Nicholas Stimpson • Edited

I think that's definitely a better question, and you may want to take that to a new post. Even so, it might still be tricky to find objective reasons for what causes confusion in humans. But maybe you could look at the jumble of features wrapped up in the display and white-space properties, the seeming arbitrariness of which boxes form stacking contexts, the unique way text-decoration propagates to descendants, and so on.

Thread Thread
 
stereobooster profile image
stereobooster

Even so, it might still be tricky to find objective reasons for what causes confusion in humans

Well, this would bring us nowhere. People complained about manual memory allocation in C and now we have garbage collection (Go, Lisp, Ponylang, etc.), borrow checker (Rust), and whatever magic Zig is doing. Pointing out problems leads to a solution.