Where should I use defrecord in clojure?
I consider structs to be effectively deprecated so I don’t use them at all. When I have a fixed set of well-known keys used in many map instances, I usually create a record. The big benefits are: Performance Generated class has a type that I can switch on in multimethods or other situations With additional … Read more