You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: using/solving-exercises/tdd.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ For tracks that don't skip the tests, applying this workflow may be as straightf
74
74
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.
75
75
76
76
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.
78
78
Having a well-designed (and testable!) interface is often more important than having an efficient implementation.
79
79
80
80
1. Discipline.
@@ -94,3 +94,4 @@ While it may seem like "putting the cart before the horse", there are several go
0 commit comments