5 ms·
RE: Developing Decoupled Code Extra complexity cost is insane and probably not worth it. Basically you move all your crazy stubbing and mocking out of test cod
by xentronium 13y ago
RE: Developing Decoupled Code
Extra complexity cost is insane and probably not worth it. Basically you move all your crazy stubbing and mocking out of test code and into application code. Do not do this unless you really, really need this kind of dependency injection.
- mattgreenrocks 13y agoBack in the day, we laughed at people who stuffed all their code into button click handlers. Now, we mock people who don't. My, how different the web is!
- xentronium 13y agoThat's a straw man. I see how you made it up for a joke, but it's still confusing. "Don't overengineer" is not the same as "stuff all your code into button click handlers".