Why programmers doesn't use material conditional (implication)?

152 Views Asked by At

Logical negation (NOT), conjunction (AND), disjunction (OR) and exclusive disjunction (XOR) are very often used in every programming language. Why isn't the material implication (p → q) used so often?

1

There are 1 best solutions below

0
On

I'd say the ubiquitous "if statement" represents material implication

if p then q

If p is true then q follows: p->q