W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css-variables][naming] Renaming 'var'

From: Adam Prescott <adam@aprescott.com>
Date: Tue, 16 Apr 2013 16:11:43 +0100
Message-ID: <CA+OJs9Q_aYRON-T4yNZ4v_m6pkhNW0OEog7ULEsUvO4-ro_aNQ@mail.gmail.com>
To: Sylvain Galineau <galineau@adobe.com>
Cc: Pete Boere <pete@the-echoplex.net>, "Jens O. Meiert" <jens@meiert.com>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On 16 April 2013 15:45, Sylvain Galineau <galineau@adobe.com> wrote:
> This is not persuasive since 'red' is not the only option in this case
> ('brand-color' seems more like what it is). No prefix naming convention
> will prevent anyone from using poor variable names that will confuse them
> later.

I think the issue is that it could (not sure by _who_) be misconstrued:

    color: blue;
    set-color: red;

Both arguably "set", but they're different.
Received on Tuesday, 16 April 2013 15:12:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:28 UTC