Bloggin' the web, one post at a time

Preprocessing

It's easy to see the charm of preprocessors like LESS and Sass. What's typical and unfortunate is the dogma many developers get caught up in. Is one better than the other? Maybe, but the problem preprocessors bring has nothing to with syntax or robustness. It's what they hide from you.

1 Comment

By Thijs Jonkman
06/16/2012 01:49 PM
Kwintsheul
I would say first know CSS and the cascade before trying your hand at preprocessors. Know how they treat your code so you still code towards the created output and not what looks easy in LESS or Sass.

Nesting is only useful if you would have coded it that way in CSS too. It is really tempting to have nice nested codeblocks, but preprocessors are only a means to an end, output is king. Never forget that.

Have your say