Cheka kwa kiingereza

Makanyaga

JF-Expert Member
Sep 28, 2007
6,883
2,000
Wife sends programmer husband to grocery.
renderTimingPixel.png

She tells him:
β€œI need butter, sugar and cooking oil. Also, get a loaf of bread and if they have eggs, get 6.”
The husband returns with the butter, sugar and cooking oil, as well as 6 loaves of bread.
The wife asks: β€œWhy the hell did you get 6 loaves of bread?”
To which the husband replies: β€œThey had eggs.”:D:D:D

To an ordinary man, the translation of the statement "get a loaf of bread and if they have eggs, get 6” means

"You need to buy a loaf of bread, and in case there would be eggs at the grocery, you will need to buy 6 eggs

To a computer programmer however, this is " an if.............. then......" statement, with the following meaning:

You will have to buy 6 loaves of bread if there are eggs available at the store, that is:

if you find that there are eggs selling at the grocery store, then get 6 loaves of bread.

I like the joke,... it takes me back to some old funny days of my youth
 

Toa taarifa ya maudhui yasiyofaa!

Kuna taarifa umeiona humu JamiiForums na haifai kubaki mtandaoni?
Fanya hivi...

Umesahau Password au akaunti yako?

Unapata ugumu kuikumbuka akaunti yako? Unakwama kuanzisha akaunti?
Contact us

Top Bottom