3 ms·
CSS development is no different from people using programming languages. Languages, especially nowadays, are packed with features you've likely never used. Or u
by culi 3y ago
CSS development is no different from people using programming languages. Languages, especially nowadays, are packed with features you've likely never used. Or used very rarely. So you have to do a quick lookup to remember "how do I [XXXXX] again?". CSS is no different. Nobody's making you memorize all the new features. The fundamentals are mostly the same. The only difference is we now have some new solutions for some of these edge cases
- bradley13 3y agoThe difference is this: a browser must implement basically all of CSS. The complexity of CSS is a major reason that there is so little competition in browser space.
- culi 3y agoThis is a fair point but the same is absolutely true for JS. In fact moreso. A JS error makes an entire script fail. CSS fails gracefully. The more CSS you support, the better things work. If you fail to support some JS syntax you break the whole script
- tannhaeuser 3y agoIf CSS is no different from a programming language, then why tf aren't we using JS for styling already? Instead we're adding to CSS in the course of 25 years without any mental discipline. And also add to JS. CSS was once supposed to be a style language for laymen (including readers!). Citing from the CSS level 1 specification: > This document specifies level 1 of the Cascading Style Sheet mechanism (CSS1). CSS1 is a simple style sheet mechanism that allows authors and readers to attach style (e.g. fonts, colors and spacing) to HTML documents. At the end of the day (or mid-century), newer generations have to maintain the CSS circus, and I don't see that happening. Especially with "web developers" having captured the web for themselves, as you're saying.
- paradox460 3y ago> why tf aren't we using JS for styling already People are and have been for quite a while https://cssinjs.org/ https://cssinjs.org/
- john_the_writer 3y agoBecause JS is worse, and doesn't work everywhere css does. I personally like keeping style and business logic bespoke.
- culi 3y ago> If CSS is no different from a programming language, then why tf aren't we using JS for styling already? Instead we're adding to CSS in the course of 25 years without any mental discipline. And also add to JS. People are and you're completely misinterpretting what I'm saying. Obviously there are omnibus ways CSS is not at all similar to a programming language