4 ms·
That depends: do you use JS frameworks that require a compilation step? If yes, then adding a step in there to compile your SASS or LESS code is easy and has bi
by lj3 10y ago
That depends: do you use JS frameworks that require a compilation step? If yes, then adding a step in there to compile your SASS or LESS code is easy and has big advantages.
If you're using PHP or Python and don't use a JS framework that requires compilation, then adding in tooling just for a css preprocessor might be more work than it's worth. In that case, it might be more advantageous to use whatever language you're using to generate css the same way you use it to generate html.
- herbst 10y agoAfaik most modern PHP or Python frameworks have preprocessing build in as well. (Not always because of js). I see what you are saying tho, if you have a plain PHP application and edit code via FTP, SCSS is a huge step in between. For every semi modern environment it should be a non issue.
- lj3 10y agoThat's a good point. PHP and Python run their own server instances these days instead of running in apache or nginx. I miss the simplicity of the old days. :)