Don’t ask a computer programmer to go shopping

A wife asks her husband, a computer programmer; “Could you please go to the store for me and buy one carton of milk, and if they have eggs, get 6!”

A short time later the husband comes back with 6 cartons of milk.

The wife asks him, “Why the hell did you buy 6 cartons of milk?”

He replied, “They had eggs.”

via

4 thoughts on “Don’t ask a computer programmer to go shopping”

  1. This should cover it…. 😛

    #include
    #include

    int main() {
    if ( Milk>1 )
    // {
    if ( eggs=1 )
    Milk==6;
    else
    Milk==1;
    // }
    Basket==basket+milk;
    }

  2. –don’t ask a porn addict to do the shopping:

    A wife asks her husband, a porn addict; “Could you please go to the store for me and buy one carton of milk, and if they have eggs, get 6!”

    A short time later the husband comes back with milk and condoms.
    The wife asks him, “Why the hell did you buy condoms?

    He replied, “I thought you said sex.”

Comments are closed.