we have many many more features that I could not mention in the screencast. Nothing even remotely as robust was available for node apps, and the syntax is far less verbose, however of course some people will prefer the verbose css-like syntax of less/scss.
Added the link there. We wanted something similar to sass for flexibility, but there were some things obvious to me that were missing or that could be improved both as far as syntax goes and features
I'm actually serious in my curiosity: why do you care what language something is written in, as long as it work and is efficient enough for your use case? Why does it matter that these other programs were written in (I don't see why you said "for", so I'm going to use "in") Ruby?
(The wish to control the syntax is fair, I'm just curious why you threw in that other reason regarding languages.)
because it is beneficial to have these sorts of libraries written in the language you develop in... you dont need to install another language, you can interact with the native API instead of IPC etc...
thanks man. yeah it is a love or hate thing, just like lots of people love jade or really hate jade haha so I suspect it will be the same thing. I think named args would be fantastic to have as well, more expressive for mixins that have many params
Looks fantastic. The removal of colons and parentheses makes this a net win over Sass, not even taking into account everything else. In a verbose and redundant-by-design language like CSS, anything which reduces the total number of keystrokes makes my fingers glad.
Very interesting. I'd probably use colons anyway, but the only thing that would really bug me is the & syntax for nested selectors, as compared to just nesting the selectors in less.
31 comments
[ 3.5 ms ] story [ 86.0 ms ] thread(The wish to control the syntax is fair, I'm just curious why you threw in that other reason regarding languages.)
What's new in Stylus?
I still can't agree with breaking CSS compatibility, though.
https://github.com/learnboost/stylus/blob/master/docs/fontfa...
EDIT: does anyone know how to create those nice, thin, grey scrollbars on the docs page: http://learnboost.github.com/stylus/docs/js.html?
http://beautifulpixels.com/goodies/create-custom-webkit-scro...