News for hackers. Stuff that matters.
Re:LESS animation library by fourstar on Monday December 24, 2012 @03:38PM (#4964006)
I disagree. I used to use LESS since I could use node, but quickly realized it's inferior to the Sass/Compass combo. 99.9% of the servers that you are able to run node.js on will also allow you to install/run Ruby. What are the other reasons that I'm missing?
Re:LESS animation library by jeremiep on Monday December 24, 2012 @05:47PM (#4964398)
I'm curious about what makes Sass/Compass superior to LESS?
Re:LESS animation library by grabastic on Monday December 24, 2012 @06:01PM (#4964433)
A simple example...

    // Less
    .rounded-corners (@radius: 5px) {
        -webkit-border-radius: @radius;
        -moz-border-radius: @radius;
        -ms-border-radius: @radius;
        -o-border-radius: @radius;
        border-radius: @radius;
    }

    // Sass + Compass
    .rounded-corners {
        // All vendor prefixes are generated for you
        @include border-radius(5px); 
    }
I'm sure there are plugins for Less that can accomplish the same. I just grabbed this code from the Less homepage.

Another thing... Sass has much nicer control flow (if/else, while, for) that can create very powerful mixins.