It is always better to separate the 'what' from the 'how', it is better to put dependency as a value rather than as the result of another function call.
This is an experiment to see what happens if we structure our system as goals (values/things/nouns) and dependencies between them.
Watch this. A bit different domain and a different solution but he is speaking about the same issue in the next 3 minutes.
[maker "3.0.0"]
To learn check out and play with the didactic tests.
See how to add spec to your goals: spec_test.clj
Copyright © 2015-2021 Tamás Jung
Distributed under the MIT License.
Can you improve this documentation? These fine people already did:
Tamas Jung, tamasjung, Tamás Jung, tamas & KARASZI IstvánEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close