Hacker News new | ask | show | jobs
by trebor 5023 days ago
When using a preprocessor you don't have to minify your source for production. You can compile it minified with all @import rules processed. Some preprocessors contain helpers for CSS spriting, some let you directly inline the image in a data-uri.

A good tool like SASS/Less is not something to sneeze at without researching fully.

1 comments

No, I don't mean minify--I mean the SASS has to be run through a preprocessor before you have usable CSS. If I write the CSS, I instantly have usable CSS. I like using minimal tools for web design--browser and text editor. I don't want things I have to compile before I can see them in the browser.

I also think the mixins and nesting are overstated in terms of increasing the efficiency of designing sites with CSS. I am not typically declaring colors 20 times, or doing nesting so deep that it becomes confusing.

The benefits don't outweigh downsides of dealing with SASS files and preprocessors.