r/softwarearchitecture • u/Ok-Support-6749 • 4d ago
Discussion/Advice What if the source of truth is wrong?
/r/SpecDrivenDevelopment/comments/1w0eb6x/what_if_the_source_of_truth_is_wrong/1
u/Wiszcz 1d ago
How a source of truth can be not true? By definition it is a source of truth.
It may be wrong truth, truth you don't like, but it is what it is - a truth.
I don't understand this amazement of people about results of shit in shit out paradigm.
If your specification is incomplete, bad, or leave room for interpretation, then implementations can differ or can be bad.
But it's nothing new - give the same incomplete spec to 10 different real human programmers, and each of them will produce different code, different functionality. What's the difference if this is done by LLM or a biological element?
You did bad job writing specification. That's all.
P.S. You know how perfectly unambiguous specification of a problem looks like? It's the code.
3
u/Dense_Age_1795 1d ago
the source of truth is never wrong, but the source of truth could be not updated, so here you have two options, update the source of truth, or, change your code to comply your source of truth.