Catch-22: Can't refactor because no tests. Can't test because need to refactor. The 1st problem is political, the 2nd technical.
@sellout @puffnfresh In order to test the code adequately, I need to refactor it.
-
-
@tixxit@puffnfresh But why? Refactoring doesn’t affect the external API, and tests should only use the external API. -
@sellout@puffnfresh Refactoring can definitely change an "external" API. I don't live with a bad API just because it existed a week ago :) - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.