(no title)
adamauckland | 2 years ago
Issues around business logic are not failures of the system, the system worked to spec, the spec was not comprehensive enough and now we iterate.
adamauckland | 2 years ago
Issues around business logic are not failures of the system, the system worked to spec, the spec was not comprehensive enough and now we iterate.
Aachen|2 years ago
Because I'd call that a bug. A spec bug, but a bug. It's no feature request to make the code based on the newer page delete thing2 rather than thing1, it's fixing a defect
SilasX|2 years ago
Correctness bug: it didn’t do what the spec says it should do.
Fitness for purpose bug: it does what the spec says to do, but, with better knowledge, the spec isn’t what you actually want.
Edit: looks like this maps, respectively, to failing verification and failing validation. https://news.ycombinator.com/item?id=39359673
Edit2: My earlier comment on the different things that get called "bugs", before I was aware of this terminology: https://news.ycombinator.com/item?id=22259973
pinkmuffinere|2 years ago
unknown|2 years ago
[deleted]
rkangel|2 years ago
Verification is "does this thing do what I asked it to do".
Validation is "did I ask it to do the right thing".
crashabr|2 years ago
verification refers to "is this dataset clean?" or the more precise "does this dataset confirm my assumptions about what a what a correct dataset should be given its focus"
validation refers to "can it answer my questions?" or the more rigorous "can I test my hypotheses against this dataset?"
So I find this interesting (but in hindsight unsurprising) that similar definitions are used in other fields. Would you have a source for your defintions?
zestyping|2 years ago
The actual testing value is the difference between the cost of writing and maintaining the code, and the cost of writing and maintaining the spec.
If the spec is similar in complexity to the code itself, then bugs in the spec are just as likely as bugs in the code, thus verification to spec has gained you nothing (and probably cost you a lot).
cortesoft|2 years ago
repelsteeltje|2 years ago
pipo234|2 years ago
So yes, I totally agree with GP and would actually go further: a phrase like "we found all the bugs in the database" is nonsense and makes the article less credible.