Coding 2024-07-08
My plan is to try out using Deal to help write tests, so I've been thinking some about the basic assertions I'll want to have for the Structured Data interface. Some of the ideas I've got so far are kind of a pain to deal with. Like, what am I supposed to do, as far as writing tests goes, to deal with "there are three basically different things this function is supposed to do, and which one obtains is controlled by the precise relationship between the two inputs"? It's possible that I'll need to accept more work initially, and hopefully I'll get nicer stuff down the line.
Right now, I think what I want to do is figure out whether to try to disable Deal outside of the optimized case.
I'll just let that idea bounce around, and maybe start writing stubs. For now, it's late and I should get to bed.
Good night.