3 ms·
> try to shape code so that more of it can be tested without hard to setup dependencies Yes! In general, functional core + imperative shell goes a long way to
by michaelteter 3y ago
> try to shape code so that more of it can be tested without hard to setup dependencies
Yes!
In general, functional core + imperative shell goes a long way toward this goal.
With that approach should also be minimal coupling and complex structured types outside with simple standard types passed to core functions.
These things make unit testing so much easier and faster (dev time and test run time).
- deleted 3y ago[deleted]