Test harness LoC / Unit Tests LoC Before: 0 / 1292 After: 324 / 400https://twitter.com/generativist/status/1263117672683720706 …
-
-
I think we consistently underestimate how much effort goes into (or should go into) keeping tests current, clean, sensible, and robust.
-
red, GREEN, refactor -- your tests, too
End of conversation
New conversation -
-
-
This kind of stuff is hard to teach (at least for me). If you are not sure how some other code works, make a strict/strong assumption and make sure that you abort/fail immediately if that assumption is ever violated. I can say it, but students won't really absorb it.
-
Yea. The code I just wrote is basically assumptions_about_XXXX_test.go with lots of func XWorksLikeYGivenConditionZ(*) from a mixture of code reading and just guessing.
End of conversation
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.