Skip to content

Commit 04d39ef

Browse files
committed
ideas/dollar-variables: edited
1 parent 46bf12b commit 04d39ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ideas/dollar-variables.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ We regularly get the question of why CSS variable references are introduced with
1111
4. In general, using new sigils is something that should be reserved for the most important cases. There's a pretty small set of characters available to us, and many that show up on an American English keyboard may not be easily accessible on keyboards for other languages, thus shrinking the useful set even further. Sigils also reduce the readability of the code, as you have to memorize what they mean (rather than having names that suggest their meaning) and they're hard to search for; their main benefit is when they're used so commonly that the reduction in code-size from having a single char (or the recognizability of a single unusual char) becomes a significant aid in readability itself. It doesn't appear that this applies to variables, at least not yet.
1212

1313

14-
We might change our minds in the future and allow a shorter syntax for simple variable references. But for now, we're not doing so, and variables have shipped in all major browsers, so the spec can't be changed on the matter now.
14+
We might change our minds in the future and allow a shorter syntax for simple variable references. But for now, we're not doing so, and variables have shipped in all major browsers, so the spec can't be changed on the matter now.

0 commit comments

Comments
 (0)