3 ms·
I generally agree with this. However, sometimes using a module is not adding a dependency, it is making an already existing implicit dependency explicit. E.g.
by sbov 11y ago
I generally agree with this. However, sometimes using a module is not adding a dependency, it is making an already existing implicit dependency explicit.
E.g. we have client and server code. Serialization configuration between the two is implicitly dependent upon each other - if the client expects dates in a different format than the server, things don't work. To make that implicit dependency explicit, we use a module, which also has the affect of making sure the two don't get out of synch.