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

As a daily Sass author but also deeply concerned by users (both authors and end users), I strongly support the position of choosing @if over @when for CSS and for Sass to evolve.

Sass is a tool and we all know tools evolve, change and eventually are replaced/die. Preprocessors are not an exception to this.
As painful as it can be as an author to update a version of a tool (we already did this some time ago with the Sass update regarding Math.div), I prefer having to deal with this rather than choosing another name than @if which will have a strong impact on how the language is learnt and used over the next decade.
The if construct is short, widely used in lots of other languages and is one of the first things we learn when we start learning development.

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


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

Received on Wednesday, 16 March 2022 10:32:08 UTC