Fork me on GitHub
#datomic
<
2019-06-19
>
johnj16:06:38

With datomic's "the database as a value" approach, do you treat your functions as "pure"? (defn some-query [db args....] and pass the db everywhere?

Joe Lane17:06:44

@lockdown- Yeah, it also makes testing a breeze once you dynamically create and destroy databases.

👍 4
steveb8n23:06:23

@lockdown- it also makes the use of libs like scope-capture super useful since you can interact with it using the REPL even after a test/http request has run