Fork me on GitHub
Pablo Fernandez06:08:12

@yogthos: I’m seeing this pattern of separating Clojure and ClojureScript into src/clj and src/cljs and src/cljx (and the counterpart in tests). Do you think Luminus should follow it?


@pupeno: there's no point of doing cljx anymore since cljc cross-compiles automatically with clojure 1.7


doing src/clj and src/cljs would mean that all the paths would have to be updated if cljs profile is selected in the template


I don't know if there's any practical advantage to that pattern though

Pablo Fernandez13:08:04

For me it looks cleaner and I can see most templates use that pattern. I’ll find myself doing the refactoring to src/clj and src/cljs every time I create a new app.