I was initially skeptical about Rust's convention of having tests in the same file as the actual code, but it seems to be working out well.
I don't think docs should timeless... how much developer time gets wasted because nobody can change docs of buggy code to warn people of the bugs?
-
-
I find this concept hard to explain
Phrased differently: a code repository always contains a consistent, closed snapshot of some functionality. Docs often need to look behind or ahead. -
Ok, so my point is, I think the same could be said of tests.
- Show replies
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.