W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-nesting] request to pick up the css-nesting proposal

From: Francesco Schwarz via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Jul 2018 13:44:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402726607-1530798296-sysbot+gh@w3.org>
I’m actually quite surprised reading so few comments pointing out the danger of misuse of this feature. Heck, what am I saying: it is a feature that _will_ get misused for sure. Thanks to @battaglr for pointing out the issues in your comments here.

It is my personal experience looking back at 5 years of professional work in web development, having seen and worked with really big Sass/Less architectures from very popular German websites, that the nesting of selectors is one of the main reasons why the resulting CSS is a maintainability nightmare.

I, of course, see also the benefits of the feature. But the reality is that you have a diverse pool of people working on stylesheets (especially when we are talking about big teams) and the misuses (which are, again, kindly elaborated by @battaglr in his comments here) are predestined, in my point of view.

GitHub Notification of comment by isellsoap
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2701#issuecomment-402726607 using your GitHub account
Received on Thursday, 5 July 2018 13:44:59 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:33 UTC