8 ms·
Who does the passing in in development mode? Where does the data come from? You have this problem anyway, and it blocks you from launching new code. These ou
by hinkley 8y ago
Who does the passing in in development mode? Where does the data come from?
You have this problem anyway, and it blocks you from launching new code. These out of band communication mechanisms always lead to problems with developer ergonomics and repeatability.
It's essentially a larger version of the problem of testing pure functions versus heavy usage of mocks. Passing the data in directly makes testing the callee very simple.