Earlier quoted context omitted.
I'd say it is still a pretty constructive answer, as you can run both codes, get two concrete answers, and one of them is guaranteed to be right.
“and one of them is guaranteed to be right.” That’s where opinions will differ. That’s only true if you accept the law of the excluded middle. Mainstream math does, but most constructive math does not.
Yes, Kripke semantics makes sense of constructive logic. Topos theory, too. But I really think of all of these embedded in classical logic, and assuming that the law of excluded middle doesn't hold for general reasoning just doesn't make any kind of sense to me.