Does programming languages permit paradoxes? Can for example the value of exactly one variable be true and false at the same time? As far as I know, in current programming languages the value of a boolean variable is either true or false (or sometimes null). This is how boolean logic works. Though, I don’t know much about quantum computers.

Still, one might program a phenomenon in object-oriented programming language, that might seem like a paradox to some observers even if it was not a paradox from the perspective of the programmer.

My actual point is: If we assume that the simulation hypothesis is valid, then in what kind of programming language is our world simulated?

If, for example, the paradoxes known in the field of physics (or some of them) really occur in nature (or in the simulation of the nature), internally, the programming language could still be paradox-free, but the programmer would have programmed phenomena that seem like paradoxes even though the phenomena would paradox-free from the point of view of the programmer.


In principle, the graphical side of a hypothetical simulation might be programmable so that it might look paradoxical to the viewer, but from the perspective of the programmer itself it would not.

On the other hand, how does one know if some programmer or engineer (in the future) would have built a programming language where the same variable could somehow be true and false at the same time…

Just a though…