←back to thread

451 points todsacerdoti | 4 comments | | HN request time: 0s | source
Show context
firefoxd ◴[] No.45060733[source]
The worst thing about CSS is that a lot of people don't bother learning it, then have a strong opinion after they were forced to use it for a day.
replies(3): >>45060923 #>>45061230 #>>45070915 #
noelwelsh ◴[] No.45061230[source]
> The worst thing about CSS is that a lot of people don't bother learning it

How dare people use CSS without learning in-depth all 20+ specifications! It's an outrage!

When people have problems using a tool, you should look at the tool rather than blaming the people. People aren't going to change. You don't tell people to be more careful using a bandsaw; you install safety features.

replies(5): >>45061266 #>>45061520 #>>45062004 #>>45062139 #>>45062375 #
1. rebane2001 ◴[] No.45061266[source]
Would you hold another programming language, such as JS, to the same standard?
replies(2): >>45061281 #>>45061472 #
2. noelwelsh ◴[] No.45061281[source]
Of course. I think JS is full of mistakes. To be fair some of the more egregious ones have been fixed, but there are still plenty left.

I'm a big believer in learning new stuff, when that stuff has lasting value. However it is far more efficient to fix things, a one time cost that benefits everyone, than to ask everyone to learn the quirks of a tool, a cost that is paid every time someone new comes along.

3. wmil ◴[] No.45061472[source]
Are you implying that having both String.prototype.substring and String.prototype.substr is somehow confusing?

JS is in general better because by the time it came out people knew what to expect from a scripting language.

CSS didn't really have a lot of earlier styling and layout languages to copy. Also the original vision was much more limited.

replies(1): >>45062015 #
4. timeon ◴[] No.45062015[source]
> Also the original vision was much more limited.

Is this about CSS or JS (and things like Node)?