W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-values]: Express conditional values in a more terse way (#5009)

From: johnadney via GitHub <sysbot+gh@w3.org>
Date: Sat, 08 Aug 2020 01:47:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-670806134-1596851276-sysbot+gh@w3.org>
`nth-value` is what jvm people would call a `tableswitch`, and is a common optimization of the c-style switch. the other `switch` proposal is unusual by c standards, but is however a lot closer to what ecmascript calls a `switch`, and given the user community overlap, is probably going to win the name if both proposals are going to be seriously considered.

at any rate, `nth-value`/`tableswitch` seems both extremely useful and relatively easy to do, so i hope there's implementer interest.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 8 August 2020 01:48:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC