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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 14 Apr 2013 00:57:36 +0200
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <obojm8psp90cs995ges2qlrfaguhbj0tqn@hive.bjoern.hoehrmann.de>
* fantasai wrote:
>So, at Rename the Web Forward [1], Sylvain and I concluded that it
>just might be better to use 'set-' as the prefix and 'get()' as the
>function name instead of 'var-' and 'var()'.
>
>p {
>   set-???: green;
>   background: get(???);
>}
>
>This takes us closer to "custom properties" than "variables",
>(and has the added bonus of not being an abbreviation!)

Well, `get` and `set` as used here are imperative, while CSS tries to be
a declarative language, so this seems rather confusing to me.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 13 April 2013 22:58:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC