[css-variables] Different syntax for variable definition and use

> 2. Defining Custom Properties: the ‘var-*’ family of properties
>
> 3. Using Variables - the ‘var()’ notation

What is the benefit in declaring and using variables—the same
variables—in such different ways? Are we not contracting a serious
“development usability” problem?

Why does the variable name need to be part of the declaration?

And what are, pardon me Tab, the other “‘variable-like’ things” we
would need the “$” syntax for if there is, so the community, such
immense immediate need for variables in CSS now, right at this moment?

I argue that the syntax should be as simple and consistent as
possible, probably well borrowing from another language, and that if
there is no immediate need for something else that is “variable-like,”
it shouldn’t influence the spec in such a dramatic fashion.

(While this probably sounds all more dramatic than I meant it to sound :)

-- 
Jens O. Meiert
http://meiert.com/en/

Received on Tuesday, 28 August 2012 20:50:29 UTC