Liste des Groupes | Revenir à ol advocacy |
On 3/23/2024 5:06 PM, Lawrence D'Oliveiro wrote:In other words, you don't have to generate a False to have a False. You can assign a False!Aka “the law of the excluded middle”. Remember, we are working in anThen why would a programmer do that? AND and OR both single out a case out of four possibilities, by looking for a case when both sides of the operator match. But IMP seems to be an attempt to introduce and single out a case where _only_ the left side be 1 and the right side be 0.
algebra where variables only have two possible values. If you want to add
a third value, you end up with a different algebra.
I don't understand what was the motive behind introducing this into programming language. The same singling out is very easily arranged with using an AND operator. "if (A = 1) AND (B = 0) then you get a False".
Les messages affichés proviennent d'usenet.