6 ms·
I would expand it to not just the author. I'd like to think most of us have seen enough spaghetti code to have this impression. I do think adjusting your code
by taeric 10y ago
I would expand it to not just the author. I'd like to think most of us have seen enough spaghetti code to have this impression.
I do think adjusting your code for the unit tests can destroy the architecture. However, I don't think this is necessarily bad. Consider all of the "dual purposes" that pretty much every single piece of a rocket serve. The catch, is most of us are not building a rocket; so a forcing function for single responsibility is mostly a good thing.