Fork me on GitHub

I remember Rich mentioning in one of the interviews, can’t find which one but, something along the lines that if he designed Clojure again Protocols would play a foundational role in it. Can some elaborate what he might have meant?


That Protocols would be bootsrapped first and then instead of the extensive use of interfaces and native dispatch, a lot of core features would instead be based on Protocols?

Alex Miller (Clojure team)11:08:33

Well you can see this in ClojureScript

Alex Miller (Clojure team)11:08:19

Which was designed with protocols at the bottom and most of the abstractions are defined in protocols rather than Java interfaces


Nice, I’ll study the ClojureScript source in that case, have only been exploring the Java source until now

Alex Miller (Clojure team)12:08:04

I have heard that the very first commits in the ClojureScript code base are instructive in this regard


Hello 👋 complete noob here, I was wondering what is the Clojure stack of choice these days for creating an API + web and mobile clients ? TIA