KISS 原則英文全名:Keep It Simple, Stupid將件嘢整簡單啲呀,死蠢噉解)係程式編寫上嘅一種技巧,指如果有多過一種方法可以達到想要嗰隻效果,噉就應該用最簡單嗰種。一般認為,一個程式盡可能簡單嘅話可以令個程式易用啲,好處包括咗「下一手編程員接手嗰時輕鬆順利啲」呀噉[1]

版本

編輯

有啲人覺得原本嗰個版本嗌聽嗰個人做「死蠢」,好似唔係咁好,所以 KISS 句嘢有咗第啲版本[2]

  • "Keep it super simple",
  • "Keep it simple, silly",
  • "Keep it short and simple",
  • "Keep it short and sweet",
  • "Keep it simple and straightforward",
  • "Keep it small and simple",
  • "Keep it simple, soldier",
  • "Keep it simple, sailor",
  • "Keep it simple, sweetie",
  • "Keep it sweet and simple"

... 呀噉。

睇埋

編輯

參考資料

編輯
  1. The Routledge Dictionary of Modern American Slang and Unconventional English, Tom Dalzell, 2009, 1104 pages, p.595, webpage: BGoogle-5F: notes U.S. Navy "Project KISS" of 1960, headed by Rear Admiral Paul D. Stroop, Chicago Daily Tribune, p.43, 4 December 1960.
  2. Pit & Quarry, Vol. 63, July 1970, p.172, quote: "as in every other step of the development process, follow the KISS principle - Keep It Simple, Stupid."