3 ms·
(str "There is" "an easier route")
by swah 16y ago
(str "There is" "an easier route")
- jstirrell 16y agoSort of. I absolutely love Clojure myself and use it anytime I have the slightest excuse to, but I really feel one of its major shortcomings is the lack of a good templating library. Hiccup is really clean and concise, but it's just not a practical real-world way to handle presentation of a website unless you want everyone writing html to know Clojure. Enlive and Fleet are other options and I've briefly explored both at certain points, but I personally just found them both unwieldy and unnatural, with other disadvantages as well. I'm sure they suit the needs of some people but I dismissed them before I got past the minimal learning curve. The same goes for StringTemplate. It seems really cool and everything, but I just don't want to have to learn (and use half the time) a whole new different syntax just to stick dynamic strings in a page. PHP just makes it so damn easy that it's hard for me to pass up when it comes to churning out webpages.