4 ms·
Elegance.
by bprater 18y ago
Elegance.
- ajross 18y agoOK, I call shenanigans here. In what was is adding a feature to a non-programmable, designed-by-commitee data format instead of using a tight, well-defined and very powerful feature of the pre-existing development environment ... elegant? My original question was, after all, an aesthetic one. I guess I just simply don't understand your thinking here.
- bprater 18y agoElegance here means having much meaning a small space. Variable replacement is hardly programmable. More of a macro expansion. To my eyes, this has lots of meaning: div { color: var(CorporateLogoBGColor) } To my eyes, this has very little meaning and forces me to consult a reference doc every time I look at it: div { color: #e852aa } I think the var() syntax is non-elegant, it's a bit fugly. I think Perl's $ might visually look more elegant. Advantages: DRY works. Designers can make sweeping changes to a page with a small change. I don't think designers are going anything but more flexibility in having this available.