Sass vs. SCSS: Which Syntax is Better?
thesassway.com
Sass vs. SCSS: Which Syntax is Better?
1–5 of 5 posts
Re: Sass vs. SCSS: Which Syntax is Better?
#2One thing that always annoyed me with SCSS is having to explicitly tag classes with the `@mixin` keyword before being able to use them elsewhere as a mixin. LESS doesn't make you do that.
Re: Sass vs. SCSS: Which Syntax is Better?
#3Neither; I used to use SCSS, but have moved on to LESS ( http://lesscss.org/ ). One thing that always annoyed me with SCSS is having to explicitly tag classes with the `@mixin` keyword before being able to use them elsewhere as a mixin. LESS doesn't make you do that.
Also, one of the most powerful features of Sass today is @extend, which is something that Less definitely does not have: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...
Re: Sass vs. SCSS: Which Syntax is Better?
#4Neither; I used to use SCSS, but have moved on to LESS ( http://lesscss.org/ ). One thing that always annoyed me with SCSS is having to explicitly tag classes with the `@mixin` keyword before being able to use them elsewhere as a mixin. LESS doesn't make you do that.
the @mixin delineation is quite deliberate. See Nathan Weizenbaum's comment at the bottom of: http://nex-3.com/posts/83-sass-and-less#comments Also, one of the most powerful features of Sass today is @extend, which is something that Less definitely does not have: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...
I can definitely now see that Sass/SCSS is where it's at if one needs to do anything non-trivial with CSS. Guess I should really get back to using it over Less, as the basic syntax is almost identical anyhow.
Re: Sass vs. SCSS: Which Syntax is Better?
#5Earlier quoted context omitted.
the @mixin delineation is quite deliberate. See Nathan Weizenbaum's comment at the bottom of: http://nex-3.com/posts/83-sass-and-less#comments Also, one of the most powerful features of Sass today is @extend, which is something that Less definitely does not have: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...
Thanks for the info. I actually do very little with CSS (should have mentioned that / written with a more ignorant slant); in fact the only reason that I started using Less is because of that simple mixin feature. I can definitely now see that Sass/SCSS is where it's at if one needs to do anything non-trivial with CSS. Guess I should really get back to using it over Less, as the basic syntax is almost identical anyho…
As far as Sass vs. Less goes, I think it's great that both projects exist and are being improved and adopted at such a rapid pace.
Less certainly borrowed some early ideas from Sass, and in turn SCSS syntax almost certainly exists because of Less.