3 ms·
Hour long video explains what I could have picked up in 10 minutes of reading. SASS looks like it could have been so much more. Its syntax differs from CSS in
by CGamesPlay 18y ago
Hour long video explains what I could have picked up in 10 minutes of reading.
SASS looks like it could have been so much more. Its syntax differs from CSS in ways that it doesn't need to (specifically, requiring newlines and prohibiting multiple rules or selectors on a single line), and the lack of local variable also decreases one's mobility with the tool.
It's a good start, but it could have been so much better.
- chriseppstein 18y agoWhen there's something better, I'll gladly use that. Until then, I think it's sad that you've chosen to focus on the "negatives" that are largely style instead of the positives that are the substance of the screencast. For what it's worth, in about a day or so of hacking on the sass source code, one could change it to be white-space inactive and to just rely on css tokens. If someone cared enough, they could add that feature. But, it turns out no one has, because it takes all of 15 minutes to get used to it.
- nex3 18y agoSass actually does have local variables. All variables are local to the level of nesting at which they're declared. Also, multiple properties on a single line is a feature planned for version 2.4.