Yeah but why not generate code from your specification? Or create a model of the specification that you can interrogate in code?
Re:Modeling Message Queues in TLA+
by aeneasmackenzie on Monday November 05, 2018 @09:05AM
(#18382359)
You would need to include irrelevant details. TLA+ is an actual declarative language, so it's not executable, but it can be model-checked.
If your code doesn't have a specification (of course usually less precise), fixing bugs is incoherent. How can you say come behavior is a bug?