Re: [csswg-drafts] [css-values-5] What is the MVP for inline conditionals on custom properties? (#10064)

Ah, we are now in full-blown bikeshedding mode 😅

How about both? If we can have commas that become semicolons when needed, we could also have colons that become semicolons when needed. 

I think it’s a big antipattern to use `,` or `;` to separate _some_ arguments and another character to separate others. Either we use two distinct characters, or we use `;`/`,` for both.

@benface Even if `if()` does accept multiple conditions, authors can still choose to nest it instead. So if you find that more readable, you can do that! Personally, I don’t, and nested parens are easy to get wrong.

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


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

Received on Monday, 24 June 2024 14:54:48 UTC