3 ms·
My company uses this and I write a lot of the front end web stuff. Personally, I can tell you that this is not that much better than plain css. It's great to
by brettnak 17y ago
My company uses this and I write a lot of the front end web stuff. Personally, I can tell you that this is not that much better than plain css. It's great to have variables and what not, but the I think the biggest change is that you'll notice that you do more things like:
"+standard_padding"
Instead of adding what you would in css. The stuff I do with it is not perfect, but I was super jazzed about it at first, now, I don't really care either way. Sometimes it helps and sometimes it hurts. It's not really revolutionary. People who don't spend a lot of time doing front end html/css stuff or don't really understand how to write a good stylesheet will probably like sass more, it just shifts your thinking a little bit.
- nex3 17y agoI suspect you aren't using it to its full potential. It's not enough just to take bits of CSS that are exactly the same and put them into mixins. When you start seeing patterns, places where you're using the same idea with slight variations, then you can make a mixin with arguments that you can use for that idea whenever you need it again. That's when Sass really starts to shine.
- brettnak 17y agoWe have those all over the place. I suspect that you are right that we could be doing a better job of things though. It just seems to be another layer of abstraction which doesn't abstract enough for it to be worth it. Personal preference I suppose. I really do like being able to have 'functions' and variables though.