Getting Started with Myth: the Preprocessor of the Future

Ugh Yuk!!! That’s the proposed variable syntax for css?! Ugh nooo! That’s awful…

They’re big reason for not bringing in variables before was it would make it more complicated so instead they bring in the most convoluted syntax unlike any other programming languages syntax. So if someone learns variables through css frst (which is likely) they’ll need to unlearn it when moving to javascript or php or something else.

That’s a travesty! It could have just been something like:

–text_color: #fff;

.color {
color: --text_color;
}

1 Like