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

Re: [csswg-drafts] [selectors4] Name the “functional pseudo-class like :matches() with 0 specificity”

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Fri, 06 Jul 2018 03:02:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402911739-1530846163-sysbot+gh@w3.org>
Hi all,

I know that when it comes to names, we all have opinions. However, the group has been discussing this for months (possibly over a year) at this point. We've recently discussed it again F2F, and narrowed it down to :if and :where. I think it's highly unlikely that we will go back and reconsider other names at this point. Therefore, it would be far more productive to argue which one of these is a better choice. 

Personally, I see myself using this A LOT so I think brevity is important. [Roman Komarov seems to think the same](https://twitter.com/kizmarh/status/1014793591485620224). So, I would vote for `:if()`. Also, I think `:if()` stands much better when it's by itself than `:where()`.
However, the community so far seems to favor :where(): https://twitter.com/LeaVerou/status/1014767203508338688

I do worry a little that this is because they hope to see if used for something else though, or because many of them are programmers and are used to if from there (whereas if has a much stronger association with natural language, if your brain has not been tainted by programming languages).

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2143#issuecomment-402911739 using your GitHub account
Received on Friday, 6 July 2018 03:02:46 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 September 2019 01:18:59 UTC