&gt;  I&#x27;m a huge fan of Clojure&#x27;s Hiccup library. It allows the user to make html like the following.<p>It helps that Clojure&#x27;s syntax is based on s-expressions, and s-expressions are already isomorphic to HTML&#x2F;XML.<p>So in a way, you&#x27;re still mixing your templates and your code, but you happen to be using the same syntax for both. Which is arguably an improvement.