Simon Willison’s Weblog

Subscribe

Wednesday, 6th August 2008

Why “variables” in CSS are harmful. Bert Bos thinks constants or macros in CSS will make it harder to learn. I personally think that the problem with CSS isn’t the learning curve, it’s how difficult it is to maintain later—and I see macros as a great way of reducing that maintainability burden.

# 12:13 am / bertbos, css, cssconstants, maintainability