Hacker News new | past | comments | ask | show | jobs | submit login

This is super exciting in terms of speed, but I'm saddened that the indented-style syntax isn't supported.

https://twitter.com/#!/hcatlin/status/194558078098747393




That syntax has been essentially deprecated for a while now. I think one of the most important aspects of SASS syntax is that any valid CSS3 file is a valid SASS file and compiles without error.

This can't be true of the indented-syntax, which has two downsides:

* It's a huge barrier to entry for anyone new to the framework when they already know CSS.

* It makes porting and/or incorporating existing CSS unnecessarily complex.

(The same things could be said about HAML, but people generally have no problem writing HTML, while CSS is still a fluid and ever-changing system).

The indented-syntax is way nicer to look at, but it's a good thing that it's heading off into the sunset.


That's false actually. There is a "new" syntax, but the popularity of the language is in many ways due to the terse, easy-to-read original syntax—it's not going away and it's not deprecated.


You're right. It will be supported indefinitely through the gem - so neither officially deprecated or going away.

However, since .sass is no longer the primary syntax (nor default for Rails), and it's not supported by any new development efforts, it's safe to say that it is not the favored child.


“any valid CSS3 file is a valid SASS file” — Clearly you mean .scss. I imagine you’ll fix that in a minute :)

I’m also not so sure that this parser can only handle one of the two SASS syntaxes — what gives you that impression?


Too late to edit anyways, but we're both right on this one. SCSS is a Sass syntax. ".scss" and ".sass" are both Sass files. Their docs tend to name the languages in titlecase, and the formats in all caps. That surely won't confuse anyone!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: