3 ms·
> currently debating what to name a conditional structure, and it’s kind of fascinating What's also fascinating (or, rather, horrifying) is how bad the whole t
by dmitriid 5y ago
> currently debating what to name a conditional structure, and it’s kind of fascinating
What's also fascinating (or, rather, horrifying) is how bad the whole thing is.
SASS is 15 years this year. Its concepts have proven their worth over, and over, and over again (and reimplemented several times in Less, PostCSS plugins etc.). W3C's own design system uses SASS [1]. How much of that did we get to see in CSS in the past 15 years? Maybe, just maybe we'll finally get nesting some time in the next 10 years or so.
Conditionals? Hahaha. If you're betting on getting them sometime before 2045, you're a fool.
The same thing repeats all across other tech in browsers. Detecting ambient light in browsers? Oh, w3c got you fam [2]. Providing usable styleable common components? Ahahahaha, even w3c relies on third-party implementations [3].
Most of the people on these committees have never developed a website in their life. Those that did only maybe implemented a blog or two a few decades ago. And the rest of browser implementors? Oh, they've never touched anything beyond C/C++ code in browser engines. And trying to get people who actually do this for a living there? It's a rather tough endeavor [4]
So, I wouldn't hold my breath for a decision on conditionals. Or for conditionals in general.
[1] https://design-system.w3.org https://design-system.w3.org
[2] https://www.w3.org/TR/ambient-light/ https://www.w3.org/TR/ambient-light/
[3] https://design-system.w3.org/third-party-plugins/ https://design-system.w3.org/third-party-plugins/
[5] See "Solutions https://www.quirksmode.org/blog/archives/2021/08/breaking_the_we.html https://www.quirksmode.org/blog/archives/2021/08/breaking_th...