• leisesprecher@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      8 hours ago

      Because you don’t know what you’ll need that wrapper beforehand, that’s my entire point.

      Unless you’re only doing trivial changes, the chances are very high that you won’t be able to design the class structure. Or, you end up essentially writing the code to be able to write the tests, which kind of defeats the purpose.