2

Why 'AND' and 'OR' have opposite meanings in programming, mathematics compared to the human languages?

Just to mess with thr newcomers..?

Comments
  • 0
    if (human.isAnimal() AND human.hasTwoLegs()) { //executes }

    if (human.isAnimal() OR human.isATurkey() { // executes }

    What's different there from natural language?
  • 0
    @DasCapschen Exactly
Add Comment