What do you mean by compatibility here?
-
-
Replying to @propensive
It's difficult enough to keep compatibility across versions when you're programming against a public API. With tests, you often want to check internals.
1 reply 0 retweets 0 likes -
Replying to @larsr_h
Oh, you wouldn't, but the fact it's hard at the moment is sort of the point: If the tests aren't in sync with your main repo, then some of them would just fail (at compile time). You would update them if/when you care enough to do so, but no requirement for it to be synchronous.
3 replies 0 retweets 0 likes -
Replying to @propensive @larsr_h
By the way, everything I'm saying about tests could be applied to documentation too. It's maybe more understandable for docs.
1 reply 0 retweets 0 likes -
Replying to @propensive
Docs are different in that they're often not mechanically checked and also timeless (or exist on a different timeline than the code, e.g. by also pointing out beta or deprecated features).
1 reply 0 retweets 0 likes -
Replying to @larsr_h
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?
1 reply 0 retweets 0 likes -
Replying to @propensive
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.1 reply 0 retweets 0 likes -
Replying to @larsr_h
Ok, so my point is, I think the same could be said of tests.
1 reply 0 retweets 0 likes -
Replying to @propensive @larsr_h
Anyway, for my final trick, (and
@tpolecat might as well come back for this), we can all switch to source dependencies specified in terms of a selection of passing tests that we care about, and let a dependency manager find a coherent universe of dependencies for our project.1 reply 0 retweets 0 likes -
In a broader sense: metrics and testing across different versions of code is something that's sorely lacking. Once a system gets sufficiently large, "does component A at version n work with component B at version m" becomes an important but difficult to answer question
3 replies 0 retweets 3 likes
That's a large part of it. Sorry if my original response to Lars suggested I had this alternative all fully thought out, but I had certainly thought about more details than that tweet let on... But it's nevertheless only a thought experiment.
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.