3 ms·
This is a fantastic post and discussion. I've had many a debate about this, and I tend to come down on Jeff Croft's side. For the record, I'm more of a develo
by dasil003 17y ago
This is a fantastic post and discussion. I've had many a debate about this, and I tend to come down on Jeff Croft's side.
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).
- chriseppstein 17y agoYou're not what we call an "early adopter".
- dasil003 17y agoSure I am. When I said 10 years on CSS I wasn't kidding. Do you know how few web designers were using CSS in 1999? Also, I started using Rails in early 2005, almost a year before 1.0. It's sort of insulting to minimize my points by suggesting that I just don't like new stuff.
- chriseppstein 17y agoI'm sorry if you took offense. Your arguments are valid ones -- they are borne of wisdom over time that makes you more risk averse. Early adopters throw this kind of caution to the wind because they see promise and are looking for a competitive edge. Instead of waiting for a tool to mature, they help it mature. It's not an insult that you've matured, you should take it as a kind of a compliment. 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.
- dasil003 17y agoInstead of waiting for a tool to mature, they help it mature. It's not an insult that you've matured, you should take it as a kind of a compliment. If that's not a back-handed compliment I don't know what is. Here's the thing though, I'm not risk averse. I am the first one to jump into a nascent project and throw down code. The problem here is the cost benefit just isn't there for me yet. I feel I have more competitive advantage to gain by working on greater pain points (for me personally) like lack of continuations in Rails, or even something a lot more ambitious like writing a usable web framework in Haskell in order to gain the advantages of pure functional programming. In other words, just because I don't a big competitive advantage in your project doesn't mean I'm not an early adopter.