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

> I'm not sure that's true. Yes users, could use `@when` in their Sass files to avoid conflicts, but they would have to actually know that in advance. Otherwise they'd just copy paste a stack overflow/MDN snippet that used `@if` into their Sass and wonder why it wasn't working

It's hard to imagine that SASS users would simply "_copy paste a stack overflow/MDN snippet that used `@if` into their Sass and wonder why it wasn't working_".

Perhaps it's more logical to assume that the overwhelmingly majority of SASS users are smart and know not to paste the SASS-confliting `@if` into their code.

Besides, I think this basic knowledge of synonyms would be well-communicated to CSS learners by the spec and CSS-learning websites. So I personally don't see the problem.

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


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

Received on Friday, 18 March 2022 16:35:46 UTC