Datomic Antipatterns: Conn as a Value

  • clojure
  • datomic

One of the most common faux pas I see in the Datomic-wilds is creating functions that eschew the database as a value (e.g. accepting db as an argument). Instead, they treat the connection as a value. Their functions accept conn as an argument, or worse...

Continue reading