What are the disadvantages of having a compass?

What are the advantages and disadvantages of using Compass?

  • Answer:

    Advantages It comes with loads and loads of mixins, so you don't have to write them (the CSS3 ones area godsend for anybody using those) it uses Sass compatible with "grid" frameworks (blueprint, 960) it has extensions (although I haven't used any of them yet) Disadvantages Yet Another Tool to Learn (=YATL -> I'm trademarking this one ;-).  It took me a while to get my head around how to start using Compass and Blueprint.  (Note that this is actually very simple if you want to use default Blueprint as if you use the blueprint css, but if you want to use the semantical version, you need to do a few things before you can get going, and really the semantical way is the only way) it uses Sass ( = YATL) In the end, for me, it was an easy choice.  Once you get going with it, it is just amazing what you can do with (although a lot of that is due to Sass features).  I am converting all my projects to use Compass.

Mark Vilrokx at Quora Visit the source

Was this solution helpful to you?

Other answers

To add to Mark's answer... You can also make sprites automatically, use the @extend feature to inherit classes, and even split CSS into multiple files and compile them to a single file. For example, you can put each "module" into it's own file. Their are also GUIs like live reload to help with compiling. Two big cons are collaboration and debugging. If the people you are working with will not work in SASS/Compass, then you have a problem. Debugging source can be mildly annoying, but it's not too bad... especially with source mapping (if that's available yet).

Adam Brodzinski

1. It makes you a few times more productive than when using regular CSS. 2. You can actually organize your code in a mire hierarchical way by breaking it down to UI components, modules, layouts, etc. Compass specifically has a lot of mixins and other nice things that make your life eajsier. But you can only make use of it if you know Sass. I can't imagine how people write CSS without a preprocessor like Sass. Highly recommend that you spend time learning it. If you are coming from a developer background, it will be very easy to learn.

Agon Bina

I recently started using Compass on a side project, and found that the breakeven point (where the tool has saved me more time than it's taken me to learn) happens very quickly - on the order of hours.

Gwyn Morfey

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.