3 ms·
I prefer Stylus.
by blissofbeing 14y ago
I prefer Stylus.
- 2mur 14y agoIf you're a JS person, Stylus is pretty great.
- sp4rki 14y agoMay I ask why? I had used Sass for along time (with Compass) and decided to try Stylus for a pretty big project, and for some unforeseeable reason I ended up with less maintainable post compile css. I really don't understand how I ended up with a mess if they're so alike to be honest and since I've been doing web development for quite some time. It may have been more fault of the project and it's inherent structure, goals, and deadlines, but I would reckon that it wouldn't have been as bad had I done it in Sass.
- JeroenRansijn 14y agoWorking on a Coffeescript project together with node, I figured stylus would be an awesome addition, for an js-only stack. Began out all nice and fine, one thing bugging me was that syntax highlighting was horrible in ST (if you know of a better package please let me know). As the project grew I encountered very annoying implementations when using the arguments keyword in mixins (box-shadow I am looking at you) and I ended up adding nasty if constructs inside my mixins. Stlus was getting annoying over time, at first I thought it to be the liberal kid on the block — who needs braces/colons anymore? But it turns out the highlighting could not figure out what was going on, and me neither. As the project grew, I started missing my braces. Compared to sass/less, sometimes I needed to build before I knew if something worked the way I expected, in addition visual clues are non existent and comments were needed to identify structure. So in response to this comments, stylus is quite nice, but it needs some rules, especially for bigger projects, because it does get messy. And last thing, I wish it was more like Coffeescript, at least use # for comments stylus and you make my day.