3 ms·
The Defold game engine IDE is written in Clojure, using cljfx, a React-like wrapper around JavaFX: https://defold.com/ https://defold.com/
by thom 4y ago
The Defold game engine IDE is written in Clojure, using cljfx, a React-like wrapper around JavaFX:
https://defold.com/ https://defold.com/
- jcelerier 4y agolooks very neat, but it doesn't really get more OO than JavaFX, does it ? would you call this code functional & idiomatic in any relevant sense of the term? https://github.com/defold/defold/blob/dev/editor/src/clj/editor/welcome.clj#L416 https://github.com/defold/defold/blob/dev/editor/src/clj/edi...
- thom 4y agoI was mostly supplying an example rather than taking a side in the philosophical argument, to be clear. I’d call that idiomatic Clojure, but I’m a heathen that very much appreciates Clojure being on top of the JVM and offering Java interop. Another big Clojure UI/graphics framework is Quil, which is based on Processing and does an even worse job of hiding it’s imperative/stateful core.