3 ms·
For the record, I'm still undecided whether slice is a good idea. Thanks for calling it cool and elegant though :) You can use slice for just the clojure/html/
by scottjad 16y ago
For the record, I'm still undecided whether slice is a good idea. Thanks for calling it cool and elegant though :)
You can use slice for just the clojure/html/js and do the css separately. Or you can use enlive+html and slice for clojure/js. I think slice still provides a nice way to structure your code.
The site's design doesn't have to be coupled with it's logic/semantics. All the design can be in separate slices from the rest. What you gain is still composition, a full programming language, and easier testing.
Added: Originally I pitched slice as a solution for solo coders, so I agree that it has some significant weaknesses for teams, but I think it also some strengths, such as the ability to see relevant code (i.e. clojure/js/css/html) in one place, navigate code with IDE features regardless of language , abstract away details that span languages, and easier testing.