What is Nostr?
Lea Verou /
npub1m6e…yan3
2024-03-27 14:26:21
in reply to nevent1q…0avx

Lea Verou on Nostr: And today I had a realization: The primary benefit of TDD is not that it produces ...

And today I had a realization: The primary benefit of TDD is not that it produces better implementations, but that it produces better APIs. It forces engineers to do just that, since they have to *use* the APIs they are designing to write tests.

It's not the same as thinking about use cases directly, since unit tests are more contrived. But it's certainly better than plunging into implementation.
Author Public Key
npub1m6e8q4lxpwxhjcczsjfsnf79g24pcuvppzlysycgdh40jyualamqapyan3