2 ms·
If you use contexts (which is a fancy way of saying use a business layer) for your applications logic, you end up with small, isolated functions that are super
by sergiotapia 9y ago
If you use contexts (which is a fancy way of saying use a business layer) for your applications logic, you end up with small, isolated functions that are super easy to test.
`mix test` just nukes your tests and runs them really fast. About 200 tests run in about 5 seconds. Since tests run so fast you end up writing more tests, you end up writing smaller functions, you end up with cleaner code. Everything just falls in the right places almost by itself.
- malloryerik 9y agoDo any of you guys use Elixir/Phoenix with React and Absinthe GraphQL? And how about Clojure(Script)? Now that ClojureScript can consume almost all JS libraries, isn't it a serious contender?