W3C home > Mailing lists > Public > www-international@w3.org > January to March 2011

Re: dollar sign in CSS variable

From: Andre Schappo <A.Schappo@lboro.ac.uk>
Date: Mon, 14 Feb 2011 11:24:43 +0000
To: WWW International <www-international@w3.org>
Message-ID: <ADD9DEAB-4232-4299-845B-36145A487A9D@lboro.ac.uk>

I would like to offer an alternate point of view. Not just for CSS but for programming languages/systems in general.

The systems I have come across and have used are restricted to ASCII. One of the results of this is that a character often has multiple functions and one has to work out the function from context. eg $1 could be a parameter passed to a script or a field number in awk

But if instead we used unicode characters then a character can have a single function/meaning and thus remove ambiguities and make code easier to read.

another eg where a and b are variables in some abstracted system

Is a=b an assignment or a test of equality?

Lets introduce unicode -

For assignment something like a←b
Equality could remain as a=b

I realize there are all the issues of keyboard mappings but I believe the above is the approach we should be taking for the longer term

André 小山 Schappo
http://schappo.blogspot.com/


On 2011/02/13, at 23:39, Kang-Hao (Kenny) Lu wrote:

> Hello internationalization folks,
> 
> There is an ongoing hot discussion[1] about a new proposal for CSS,
> namely introducing variables into the CSS format. The proposal uses the
> dollar prefix, say, $var, to indicate variables. A concern about whether
> the dollar sign is *easily* available on keyboards around the worlds was
> raised[2].

Received on Monday, 14 February 2011 11:25:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 February 2011 11:25:19 GMT