4 ms·
In the fact that it detects repeated properties and makes the code DRY, that feature could be absorbed into LESS or SASS, and become useful.
by krrishd 13y ago
In the fact that it detects repeated properties and makes the code DRY, that feature could be absorbed into LESS or SASS, and become useful.
- jonnyscholes 13y agoYou can sort of do this with @extend in sass - but I agree its nicer here, it seems to just sort of... do it.
- krasimirtsonev 13y agoYep, @extends in SASS are exactly you need, but unfortunately they don't support params and interpolation in their names doesn't work as expected.
- jonnyscholes 13y agoYeah totally agree. Can also lead to very unreadable sass files to if your not very careful. Whilst teaching new devs where I work we ask them not to use @extend until we suggest it one a few reviews have been done.