3 ms·
The vast majority of business logic code is portable between Clojure and Clojurescript, and the cljc file extension allows the same source files to be used on J
by hellofunk 7y ago
The vast majority of business logic code is portable between Clojure and Clojurescript, and the cljc file extension allows the same source files to be used on JVM or in the browser.
Even asynchronous code with core.async is portable! In browser, it will be single threaded while on JVM it will be multithreaded, without any extra work from you.