Creating Java classes with gen-class


#1

Originally published at: https://purelyfunctional.tv/jvm-clojure/creating-java-classes-with-gen-class/
Clojure comes with a set of tools for creating Java classes (compiled to .class files) using pure Clojure. It’s called gen-class. You can add :gen-class directives to your namespace declarations.