On Thursday, July 5, 2012 at 9:05 PM, Leif wrote: > I know this doesn't answer your question, but why are you contemplating using > Jade in Clojure, instead of Hiccup or Enlive, which seem like better markup > solutions (for different reasons)? Is it just for the sake of uniformity > throughout your codebase? >
Here are a few reasons. 1) Familiarity / uniformity, as you mentioned. 2) Resources Jade is a close cousin to HAML; there are lots of useful resources out there, across multiple language communities, that work with it. 3) Tools There are tools (like the one linked below) that do a nice job converting whatever HTML we have laying around, to Jade: http://html2jade.aaron-powell.com/ There is a tool that looks like it might do something similar for html -> Hiccup: https://github.com/hozumi/hiccup-bridge … but it doesn't actually do so (yet, anyway). This kind of tooling is quite important to me - I need to be able to take HTML for a good looking site (a pre-existing site, or template) and get it easily in to whatever improved syntax I use. 4) Syntax Although I like the Clojure language syntax quite a bit (for example, as used in Hiccup, which I like!), I like the indentation-based HAML/Jade syntax more, for a big pile of HTML. Much less noise. -- Kyle Cordes http://kylecordes.com -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en