瀏覽單個文章
記憶我的RDesign
Silent Member
 

加入日期: Aug 2013
文章: 0
引用:
作者BALA
上網GOOGLE一下
還是看不懂
可以點一下嗎?

A programmer is going to the grocery store and his wife tells him, "Buy a gallon of milk, and if there are eggs, buy a dozen." So the programmer goes, buys everything, and drives back to his house. Upon arrival, his wife angrily asks him, "Why did you get 13 gallons of milk?" The programmer says, "There were eggs!"


我看到的那個是
While u are at the store, pick up milk.

因為是while所以變成了無限廻圈。

你的那個是說programmer解讀東西的方式不同,
正常說buy a dozen前面又提到雞蛋,
那dozen很明顯指的是12顆雞蛋,
但programmer把and if there are eggs當做一個條件來解讀,
所以變成先買一桶,
又有雞蛋,
再買12桶。
舊 2017-04-27, 09:05 PM #966
回應時引用此文章
記憶我的RDesign離線中