Re:SASS vs. LESS
by eropple on Thursday May 17, 2012 @02:01AM
(#3985680)
Agreed on the syntax, but for me the bigger issue that keeps me with LESS is that I have no interest in using a Ruby project for something integral to my build process because then I can't hack at it without a bottle of antacid. I don't work in Ruby and I have a strong desire not to; on the other hand, while I don't claim to like it, I'm quite comfortable with JavaScript and can work with LESS's code if I need to (and it has come up in the past).
[ Parent
| on HN ]
This is one the reasons Hampton Catlin (the original author of Sass) created libsass, a port of Sass to C for portability. Check it out: https://github.com/hcatlin/libsass
Huh, never saw this! And it does seem to support SCSS (I don't like the SASS style at all). I'll have to take a look at this more closely.
Thanks!
Re:SASS vs. LESS
by astrofinch on Thursday May 17, 2012 @01:00PM
(#3987907)
Is it safe to assume that this compiles CSS much faster than the original?
After some brief testing: definitely. Faster than LESS by a good bit, too.
I'm not sure I'm going to use it, because of the compiled dependency (I'm on a Scala/Vert.x stack and I like being able to just check it out and hit "go"), but it's at least a practical option for me and I'm glad it exists.
Who cares if it's written in Ruby? You never have to see a single line of Ruby code to use it.
Did you actually read my post before replying? I much prefer to be able to, if necessary, work with the tools in my build process at a code level. I don't enjoy working with tools I don't have mastery over wherever possible (pgsql is a stretch, but I can hack on nginx, Play, LESS, and Redis without much difficulty).
I have on occasion had reasons to be mucking around in the LESS codebase. I cannot do that with SASS (well, I could, but I'd have to use Ruby and that's a non-starter for me).