Re: [問題] 為什麼Programmer無法分清萬聖節和聖誕節

看板Programming作者 (喲)時間15年前 (2009/04/26 19:35), 編輯推噓3(305)
留言8則, 5人參與, 最新討論串2/2 (看更多)
※ 引述《bc5678 ( )》之銘言: : 摘自 Expert C Programming - Deep C Secrets中的一段 : Like the Potrzebie system, the joke about programmers' confusion over : Halloween and Christmas Day depends on inside knowledge of numbering systems. : The reason that programmers can't tell Halloween from Christmas Day is : because 31 in octal (base eight) equals 25 in decimal (base ten). More : succinctly, OCT 31 equals DEC 25! : When I wrote to Professor Knuth asking his permission to tell the story, and : including a draft copy of the chapter, he not only agreed, he marked numerous : proofreading improvements on the text, and pointed out that programmers can't : distinguish NOV 27 from the other two dates, either : 來源: http://my.safaribooksonline.com/0131774298/ch08 : OCT 31和 DEC 25的關係是很清楚 : 不過Knuth講的NOV 27就看不出端倪了, 上面兩個跟感恩節有啥關係 : 難道是念數學的人才看得懂的joke? 英文月份 October 本來應是8月, November 9月, December 10月 OCT 31 = Nov 27 = DEC 25, 因為八進位31和十進位25換算為九進位,就是27. -- 話說十進位25唸成「二十五」,那麼八進位31是否該唸成「三八一」? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.231.64.207 ※ 編輯: yauhh 來自: 61.231.64.207 (04/26 19:40)

04/26 19:42, , 1F
簽名檔有冷笑話的fu!
04/26 19:42, 1F

04/26 20:51, , 2F
October 不是10月嗎?Nov 11月,Dec 12月?
04/26 20:51, 2F

04/26 20:53, , 3F
喔,我剛剛查到了,過去真的是8/9/10月XD
04/26 20:53, 3F

04/26 20:54, , 4F
其實從字根就看出端倪了
04/26 20:54, 4F

04/26 23:40, , 5F
謝謝解惑... 差點誤會Knuth...
04/26 23:40, 5F

04/28 14:54, , 6F
八進位 71 不就變成...
04/28 14:54, 6F

04/28 18:01, , 7F
107
04/28 18:01, 7F

04/28 22:18, , 8F
樓上:我意思是唸成.....
04/28 22:18, 8F
文章代碼(AID): #19z4SQDu (Programming)
文章代碼(AID): #19z4SQDu (Programming)