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

> > “var-foo” appears to mean the variable is called “var-foo”; but with
> > “var(foo)”, the variable seems to be called “foo".
>
> I think it's pretty clear: "var-foo" means you're declaring a property
> for a var named foo.  Change the - to a space, the : to an =, and
> you're practically writing JS! ^_^

Since nobody here is a linguist:

“The hyphen (‐) is a punctuation mark used to join words and to
separate syllables of a single word.” [1]

Wikipedia does not say anything like this about parentheses.

The suggested syntax is confusing.


[1] http://en.wikipedia.org/wiki/Hyphen

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

Received on Wednesday, 29 August 2012 17:32:40 UTC