Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interested: comparison with pre-processors #153

Open
WorldsEndless opened this issue Dec 8, 2017 · 4 comments
Open

Interested: comparison with pre-processors #153

WorldsEndless opened this issue Dec 8, 2017 · 4 comments
Labels

Comments

@WorldsEndless
Copy link
Collaborator

From a vantage point of selling-points, what are some of the plusses and minuses of garden vs. say, SCSS? The first thing in the README is "see what happens when you trade a preprocessor for a full language"; what does that actually mean? For example, things like "lighten" are already there in preprocessors. I adore garden and would like a good comparison.

@AndreaCrotti
Copy link
Contributor

From my very limited experience the possible advantages are just to do with the fact that you just manipulate Clojure data structures, so instead of having to deal with crappy half languages in pre-processors, you can use the full power of Clojure.

In theory this could even allow you do smart things like extra sanity checks, or more dynamic CSS generation.

@hkjels
Copy link

hkjels commented Jan 2, 2018

You can also use most of the api from Clojurescript; which means you can generate styles based on your app-state.

@AndreaCrotti
Copy link
Contributor

There is a nice article here
https://blog.estimate-work.com/a-new-world-writing-css-in-clojurescript-and-life-after-sass-bdf5bc80a24f
with some more information.

@WorldsEndless
Copy link
Collaborator Author

Excellent points; thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants