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

> As a rule of thumb though, I don't like `@if` for media queries because these things are transient and can turn on or off at any point, so `@when` is more indicative of that transient nature. 

FWIW in most other reactive programming languages, which by definition share this trait, conditionals are *still* called `if`. E.g. spreadsheets, Elm etc.

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


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

Received on Wednesday, 13 October 2021 09:26:18 UTC