3 ms·
Are you kidding? He even says on his twitter that he is a best practice promoter. No. You should be using a CSS preprocessor. There are tons of them out there
by jtchang 11y ago
Are you kidding? He even says on his twitter that he is a best practice promoter.
No. You should be using a CSS preprocessor. There are tons of them out there and for good reason. Best practice would be to use SASS.
The only time I could see best practice being "use pure css" is if the project is so small it doesn't matter or you are learning CSS. Even SASS allows you to write CSS and gives you a ton of flexibility in organizing your code. Yes CSS is code.
He even mentions one of the reasons is to avoid having a compilation step. Well lots of things require compilation and generally it is to make our lives easier. The trade off between a broken pipe-line and maintainability via Sass is certainly worth it.
- jeswin 11y ago>Best practice would be to use SASS SASS is a personal preference and one of the available options, not a best practice. PostCSS is a great option, with the ability to use upcoming CSS specs in the same way Babel lets you use ES7 on today's JS engines.
- deleted 11y ago[deleted]
- spriggan3 11y ago> Best practice would be to use SASS. Best practice would be to use LESS.
- nailer 11y agoAs some one used less since 2010, it really isn't. Less is like Mercurial, it may be better than git but not enough to make a difference and the network effects of using scss are massive.