24 points · by webology · 17y ago · 31 comments
For the record, I'm more of a developer than a designer, but design was my first love, and I've been wrangling HTML by hand for 15 years now, and CSS for 10.
I see the value of Sass. CSS has some really obvious pain points when it comes to things like standardizing color palettes and certain types of design constructs. It doesn't take much to add a lot of value to CSS, which I think Sass does admirably.
But my problem really boils down to the ubiquity of HTML and CSS. Everyone knows it. Windows, Mac, .NET, LAMP, it doesn't matter, everyone uses it. All the tools support it, and all computers have a web browser where you can view the raw files directly.
As soon as you add a pre-processor like Sass that simplicity is gone. You can no longer work with any designer, you need one that has the pre-processor set up and is comfortable with the syntax. In a pinch you can pass the processed CSS to a designer, but then you have a versioning problem, and you are likely creating lots of busy work for yourself.
You face a similar issue with tools. They all support CSS, and some of them have some really cool features that can only come from having a userbase of a million developers battle testing it over years. It's not just text editors I'm talking about here, but debuggers, spiders, javascript libraries, and who knows what else.
So the real issue with any kind of CSS preprocessor is that by choosing it you are limiting your ability to leverage a whole ecosystem of talent and tools. Ideally a really great pre-processor could someday get enough traction to see itself become a standard, but that is not something we can hope for any time soon.
Is the tradeoff worth it?
For me I default to saying no, because I already have learned how to deal with CSS and it's an insignificant pain point to me compared to all the other things that go into building a great web product.
However in the general case costs vary. If your canonical design already lives in a framework like Rails then Sass doesn't really incur any additional tooling cost, because anybody working on the design already has to have the framework running locally anyway. However there are many team structures and workflows where HTML/CSS mockups ideally can stand alone.
I would love to join a team working with Sass, but I don't think I would choose it for a greenfield project (yet).
It's sort of insulting to minimize my points by suggesting that I just don't like new stuff.
But the 10 years ago you wouldn't have taken your advice. 10 years ago CSS was not ubiquitous. There were not good tools. The ecosystem was just getting going. And yet somehow the tradeoff was worth it for you.
Technical designers learn sass quickly. They like it and so the tools will follow. The ecosystem will grow. Already Sass experience is considered a plus in job reqs for many forward-thinking startups. Sass and Compass will mature in the next few years, and you're objections will fall by the way side and a few years after that, instead of having a competetive advantage, you'll be at a competitive disadvantage by not using something like it.
I don't know if Sass and Compass will ultimately be the tools of choice for generating CSS, but I'm certain that there will be tools like them.
I agree with the author. CSS is universal. SASS is entirely different language with far less "speakers" and far less support. It may be superior to CSS, but that's only part of the equation.
This reads close to: "iPhone takes it way too far. Phones are for calling people, not surfing the web and running applications"
SASS brings nothing to the table that hasn't already been done and it fails to even do the standard things better.
SASS was a great idea for writing CSS easier. Now it's just a crappy programming language that works with CSS. CSS needs to be made easier, HTML needs to be made easier. Making it a Turning Certified language is no way to do that.
Sometimes you need a hammer. Most of the time you don't need a hammer with six gauges and a penis pump. CSS is one of those times.
Occasionally, you might see an opportunity to make your own mixins to simplify your site and make your design easier to maintain. When you do, you'll be glad that the mechanisms for abstraction are there for you too, not hidden away from the "designers who have to be protected from code".
At least with CSS, everyone is speaking the same language. Also, most big websites end up having CSS in other places other than a central location driven by sass. You'll probably end up having some element level css, maybe a few scattered in various jquery plugins, or one-line jquery hacks for modifying css classes or changing colors etc.
Wrong. There are many designers who love sass and they kick some serious ass. Actually, EVERY designer with whom I've sat down with and shown them sass and compass has fallen in love with it.
> At least with CSS, everyone is speaking the same language.
By this logic every programmer should still be programming in COBOL and FORTRAN. But the reality is that every decade or so, a new language comes along and moves the industry in a new direction. Well guess how old CSS is? CSS is getting serious scrutiny now because there are so many programmers doing front end implementation now. I've used CSS. In fact, I'm great at CSS, but we can do better and be more efficient.
Variables, arithmetical, and mixin abstractions make the team integration much smoother. All this, and the learning curve is incredibly small.
In this case SASS doesn't need that. Every major and most minor languages can do variables and loops. Wouldn't it be more intelligent to focus on getting SASS as a universal way for programming languages to work with styling instead of making SASS a programming language?
At some point you have to stop and think about what's better for the community.
A niche programming language that brings very little to the table much less anything done well is not good for the community.
Many of the CSS3 attributes are here today in the form of vendor prefixes. But there are subtle vendor differences and you have to duplicate each property several times. It's tedious.
But compass provides a consistent API across all the browsers and it's available today.