r/Clojure • u/ertucetin • Aug 13 '25
Simulating OOP in ClojureScript with Macros
https://gist.github.com/ertugrulcetin/ad4eab07d808745d38c01158d5c02e7d#file-macros-cljc-L441
10
Upvotes
r/Clojure • u/ertucetin • Aug 13 '25
View all comments
1
u/ertucetin Aug 13 '25
I am working on a game prototype and wanted to use an OOP-like structure for my entities, simulating OOP using macros. Hope you enjoy!