Hacker News new | ask | show | jobs
by undershirt 3939 days ago
Or use a language that makes it trivial to mix data with logic, so you end up with something like Jade/Haml but with the power of macros.

   [:div
     (for [p ctrl.pages]
       [:a {:href p.url} p.title])
     [:button {:onclick ctrl.rotate} "Rotate links"]]
1 comments

> Or use a language

You mean use clojure(script) , don't be shy ...