Skip to content

Commit d83afc0

Browse files
committed
review suggestion
1 parent 047e1d7 commit d83afc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

using/solving-exercises/tdd.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For tracks that don't skip the tests, applying this workflow may be as straightf
7474
While it may seem like "putting the cart before the horse", there are several good reasons why you might want to write unit tests before writing the implementation code.
7575

7676
1. Design.
77-
It forces you to think first about the design of the **interface** to the code, instead of jumping straight to the implementation.
77+
It forces you to think first about your program's [interface][api] (how it exposes its functionality to the world), instead of jumping straight into how you will implement the code.
7878
Having a well-designed (and testable!) interface is often more important than having an efficient implementation.
7979

8080
1. Discipline.
@@ -94,3 +94,4 @@ While it may seem like "putting the cart before the horse", there are several go
9494
[test-first]: https://web.archive.org/web/20220918221108/http://testfirst.org/about
9595
[tdd-wiki]: https://en.wikipedia.org/wiki/Test-driven_development
9696
[tdd-python]: https://exercism.org/docs/tracks/python/test-driven-development
97+
[api]: https://en.wikipedia.org/wiki/API

0 commit comments

Comments
 (0)