Re: [csswg-drafts] [css-conditional-4] Rename @when to @if (#6684)

> That nuance of when applies to CSS quite well. "When my page is 900px wide, all text will be green" is a similar nuance as "when I read, I wear funny hats".

There are many ways to misunderstand any programming structure once we start fleshing it out into natural language. You are adding "will be", but it could just as easily be (theoretically) understood as "When my page was 900px wide, all text should have been green". I mean, unlikely that anyone would actually think that, but also unlikely that they would have difficulty understanding what `@if`means. With more natural language would be "If my page is ever 900px wide, all text at that time should be green". 

-- 
GitHub Notification of comment by bradkemper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6684#issuecomment-927218027 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 26 September 2021 02:43:10 UTC