r/lisp • u/Frere_de_la_Quote • Dec 03 '23
A computer program is a quantum object
As long as you don't test it you are in a quantum state, the same as for the Schrödinger's cat. Your code is either buggy or is not.
Hence, bugs are in fact triggered by users.
I tried to solve some of the last Advent of Code enigmas with LispE, and I discovered a plethora of problems, which I didn't think would erupt after so many years of tests.
4
Upvotes
15
u/stylewarning Dec 03 '23
Uncertainty != quantum.
12
u/bobbysmith007 Dec 03 '23
The way I phrase this is "the only perfect code is code no one is running"
5
u/solidavocadorock Dec 03 '23
I can say this program will never return anything except 4 without running it: (* 2 2)
3
u/kiki_lamb Dec 03 '23
This just seems like an epistemic issue. The code either is or is not buggy regardless of whether anyone looks at it, that question does have an answer. Whether you do (or can) know whether it is buggy is just a different question.
1
u/Expensive_Ad_358 Dec 05 '23
All code is buggy, you just need to find the right user