- From: Marat Tanalin | tanalin.com <mtanalin@yandex.ru>
- Date: Thu, 31 May 2012 16:27:04 +0400
- To: Sylvain Galineau <sylvaing@microsoft.com>
- Cc: Divya Manian <manian@adobe.com>, Francois REMY <fremycompany_pub@yahoo.fr>, "\"www-style@w3.org\"" <www-style@w3.org>
31.05.2012, 06:04, "Sylvain Galineau" <sylvaing@microsoft.com>:
> Not to prove that everyone's preference is someone else's ugly but I can't
> stand the x-convention. If we're going to have a prefix why not make it something
> readable. For instance:
>
> šššššššš:root { define-link-color: blue }
> šššššššša { color: $link-color }
>
> ...is imo a reasonable balance: terse at the point of use and very explicit at
> the point of declaration since there should be many of the former for each of
> the latter.
Maybe using `set-` prefix for setting a reusable value would be even more intuitive.
Similarly, `get()` function could be used to get the value when ability to provide a default value is needed.
So we have set/get operation pair.
Received on Thursday, 31 May 2012 12:27:37 UTC