W3C home > Mailing lists > Public > www-style@w3.org > May 2012

Re: [css-variables] $ for declaration? (not a variable on the left)

From: Chris Eppstein <chris@eppsteins.net>
Date: Fri, 25 May 2012 22:31:09 +0100
Message-ID: <CANyEp6XP4Y4bGcv82HJ8NDYFZ41Uh94kt=F=+pBa7vP7VKV2cg@mail.gmail.com>
To: Brian Kardell <bkardell@gmail.com>
Cc: www-style@w3.org
It really comes down to whether you conceive of $ as being a separate
concept from the variable. If you conceive of $ as a kind of escape that
indicates the next token is a variable name to be read, then $ is really
nothing more than a function that doesn't need parens. If instead you see $
as part of the variable name, then it makes sense for $ to always be
coupled whenever a variable is referenced.

It's my sense that people don't see $ as an escape, they see it a part of
the name.

Chris
Received on Friday, 25 May 2012 21:31:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:54 GMT