被認為有害」(英語:Considered Harmful)一詞是至少65篇計算機科學及相關學科領域重要論文均在標題中使用的一個短語模板。[1]其起源可以追溯到1968年艾茲赫爾·戴克斯特拉的文章《Go To語句被認為有害》(Go To Statement Considered Harmful)。

2010年遊戲開發人員會議上一個題為「成就被認為有害?」的報告

歷史 編輯

「被認為有害」一詞由艾茲赫爾·戴克斯特拉發表在1968年3月的ACM通訊(CACM)上的《Go To語句被認為有害》中首次出現[2][3],他在文章中批評了當時GOTO語句的過度使用,並提出用結構化程式設計替代。[4]提交給ACM通訊的原標題實際上是《反對GOTO語句一例》(A Case Against the Goto Statement),但ACM通訊的編輯尼克勞斯·維爾特將標題修改為了前者。[5]尼克勞斯·維爾特其實以新標題調侃了「後藤英一英語Eiichi Goto博士(其姓氏英文為Goto)高興地抱怨他總是被淘汰。」[6]

弗蘭克·魯賓隨後於1987年3月的ACM通訊上發表了對此文章的評論,題為《〈Go To語句被認為有害〉被認為有害》('GOTO Considered Harmful' Considered Harmful)。[7]1987年5月ACM通訊又以《〈《Go To語句被認為有害》被認為有害〉被認為有害?》('"GOTO Considered Harmful" Considered Harmful' Considered Harmful?)為標題刊載了更多正反雙方的評論。[8]戴克斯特拉本人則在題為《論一個有點令人失望的通訊》(On a Somewhat Disappointing Correspondence)中回應了相關爭議。[9]

實際上在《Go To語句被認為有害》一文發表前,「被認為有害」已經是記者常用的陳詞濫調,例如早在1949年紐約時報就曾刊登過《倉促立法被認為有害》的頭條。[10]

參看 編輯

參考文獻 編輯

  1. ^ Miscellaneous - Considered Harmful. [2009-08-17]. (原始內容存檔於2009-05-03). 
  2. ^ Edsger Dijkstra. Go To Statement Considered Harmful. Communications of the ACM (PDF). March 1968, 11 (3): 147–148. doi:10.1145/362929.362947. The unbridled use of the go to statement has as an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress. ... The go to statement as it stands is just too primitive, it is too much an invitation to make a mess of one's program. 
  3. ^ 戴克斯特拉, 艾茲赫爾. EWD-215 (PDF). E·W·戴克斯特拉檔案館. 得克薩斯大學奧斯汀分校美國歷史中心.  (文字版本)
  4. ^ David R. Tribble. Go To Statement Considered Harmful: A Retrospective. February 2005 [2017-10-20]. (原始內容存檔於2017-08-30). 
  5. ^ 戴克斯特拉, 艾茲赫爾. What led to "Notes on Structured Programming" (EWD-1308) (PDF). E·W·戴克斯特拉檔案館. 得克薩斯大學奧斯汀分校美國歷史中心.  (文字版本) (June, 2001)
  6. ^ Kanada, Yasumasa, Events and Sightings: An obituary of Eiichi Goto, IEEE Annals of the History of Computing, 2005, 27 (3): 92, doi:10.1109/MAHC.2005.37 
  7. ^ Frank Rubin. "GOTO Considered Harmful" Considered Harmful (PDF). Communications of the ACM. March 1987, 30 (3): 195–196 [2017-10-20]. doi:10.1145/214748.315722. (原始內容 (PDF)存檔於2009-03-20). 
  8. ^ Donald Moore; Chuck Musciano; Michael J. Liebhaber; Steven F. Lott; Lee Starr. " 'GOTO Considered Harmful' Considered Harmful" Considered Harmful? (PDF). Communications of the ACM. May 1987, 30 (5): 351–355 [2017-10-20]. doi:10.1145/22899.315729. (原始內容存檔於2014-09-03). 
  9. ^ 戴克斯特拉, 艾茲赫爾. On a Somewhat Disappointing Correspondence (EWD-1009) (PDF). E·W·戴克斯特拉檔案館. 得克薩斯大學奧斯汀分校美國歷史中心.  (文字版本) (May, 1987)
  10. ^ Mark Liberman. Language Log: Considered harmful. 2008-04-08 [2009-08-17]. (原始內容存檔於2010-02-18). 

外部連結 編輯