top | item 31281704

(no title)

sorry_i_lisp | 3 years ago

Clojure is the ultimate interop language to me.

ClojureScript (shadow-cljs, nbb) for JavaScript

Clojure for JVM

babashka for scripts

libpython-clj for python interop.

ClojureCLR for .NET (beta state IMO)

ClojureDart for Dart/Flutter (early alpha state, one big shipped prod app on iOS/android)

--- Edit:

I don't quite know how to describe it, but having the _exact_ same files in a full-stack web application being read in both the Clojure backend and ClojureScript frontend (API contract) feels pretty neat. As an example having the frontend accurately give the user feedback why his input form isn't going to be accepted without a server round-trip or duplicating code just feels elegant.

discuss

order

wnolens|3 years ago

Ok interesting thanks.