A wife tells her programmer husband: “Go to the store and buy a gallon of milk. If they have eggs, get six.”

He comes back with six gallons of milk. When she asks why, he replies: “They had eggs".

  • dnick@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Those would all start with the if, followed by two conditions, not a statement and then an if. There would be a condition to evaluate, followed by then/else?