Re:AbsurdJS – JavaScript based CSS preprocessor
by krrishd on Friday October 11, 2013 @06:53PM
(#6536343)
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.
[ Parent
| on HN ]
Re:AbsurdJS – JavaScript based CSS preprocessor
by jonnyscholes on Saturday October 12, 2013 @12:58AM
(#6537382)
You can sort of do this with @extend in sass - but I agree its nicer here, it seems to just sort of... do it.
Re:AbsurdJS – JavaScript based CSS preprocessor
by krasimirtsonev on Saturday October 12, 2013 @07:59AM
(#6538412)
Yep, @extends in SASS are exactly you need, but unfortunately they don't support params and interpolation in their names doesn't work as expected.
Re:AbsurdJS – JavaScript based CSS preprocessor
by jonnyscholes on Monday October 14, 2013 @09:11PM
(#6550797)
Yeah 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.