3 ms·
I'm now going to state something really stupid. In none of aaronbrethorst's examples were multiple terms put inside a single pair of { }. Now I can see the adv
by CJefferson 14y ago
I'm now going to state something really stupid.
In none of aaronbrethorst's examples were multiple terms put inside a single pair of { }. Now I can see the advantage, as (obviously) when writing CSS it is common to have a lot of repetition of the type this lets you reduce.
Now, I can see the purpose of LESS and SASS. Sometimes when explaining something to someone, the most useful feature can seem so obvious as to not need explaining.
- aaronbrethorst 14y agoThat's because manually indenting text in HN's commenting field is a tedious, error-prone process, and I am a profoundly lazy person. ;)
- eric-hu 14y agoIf you use Firefox, I highly recommend ItsAllText. It lets me right click on a textarea and open the contents with my editor of choice. When I save the file, whatever I wrote is automatically copied back over to the textarea. Bulk indentation is one of the main reasons I switch over to vim for editing web text.