M
M
maxxxixxxx2014-08-16 02:06:56
css
maxxxixxxx, 2014-08-16 02:06:56

Less vs Sass - which is better?

Less vs Sass - which is better to use and why?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
Evgeny Petrov, 2014-08-16
@Petroveg

May the hands of the creator of copy- paste not dry up :)

Z
zooks, 2014-08-16
@zooks

In short: SASS (SCSS syntax). There is Compass and in general it is more flexible.
What to use LESS or SASS?

A
Anna Bakurova, 2014-08-16
@Libris

Well, the usual reasoning of who can do what is one thing ... You also need to weigh that if you are still a complete noob in preprocessors (don't be offended, I didn't understand them either recently) then I would still advise less. Since less is written in js while scss is written in ruby. Yes, less can't do what scss can do, but scss can't do what stylus can do either. At the same time, you won't lose much by using less.
I haven't switched to stylus yet, but I'm thinking about doing it because it provides more options.
Less, in turn, is more of a schoolboy, it is simple and easy to understand for a start.
Scss in this comparison is a young man who has more opportunities than a child.
And Stylus is already an adult extraordinary person - his originality is manifested in his syntax, which is rather a minus for me, but a plus for many. It looks more like another language than just a preprocessor.
Stylus beginners I strongly advise against otherwise they will forget about what css syntax is
. It seems to me that a beginner who has chosen less or scss should choose whether he needs stylus.
Bearded uncles from Yandex even wrote an article " Why did we start using the Stylus preprocessor "

N
nort1986, 2016-02-18
@nort1986

I will say this, SASS (SCSS syntax). Stylys with bearded uncles from Yandex is not even considered advice. It is significantly slower than conventional preprocessors.
Less is simpler, but it has some shortcomings. If you want to use the new CSS3 features, then definitely less will not suit you. SASS files can be compiled not only through ruby, but also through node-sass, so it will be much faster.
If you want to learn more about sass, see:
sass-lessons.ru
Here it is written about the comparison with less and about the installation, in general it is interesting.

J
Julia YuKi, 2014-10-17
@yulsonka

SASS is more powerful than LESS, but it is far from always better - it all depends on the project

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question