一群高智商青年在餐廳吃飯,餐桌上一個瓶蓋標識為鹽的瓶子里裝得是胡椒粉,而標識為胡椒粉的瓶子里裝得卻是鹽,他們想出了一個充滿才氣的方案來完成對調--僅需要一張餐巾紙、一根吸管和兩個空碟子。當他們叫來服務員,準備炫耀他們的天才想法時,只見服務員什麼也沒說,只是拿起鹽瓶和胡椒粉瓶,互換了瓶蓋…… 在我們... ...
前言
本質複雜度與偶然複雜度
All software construction involves essential tasks and accidental tasks.
-- Frederick P.Brooks,Jr 《No Silver Bullet》
譯:所有軟體構建都包含其本質部分與偶然部分。
業務的複雜
系統的混亂
Despite all their heroics, overtime, and dedication, they simply aren't getting much of anything done anymore. All their effort is now consumed with managing the mess.
-- Robert C.Martin 《Clean Architecture》
譯:不管你們多敬業、加多少班,在面對爛系統時,你仍然會寸步難行,因為你大部分的精力不是在開發需求,而是在應對混亂。
我們以複雜應對簡單
TMF的擴展實現
PD五顏六色的黑
‘複雜’的光環與‘簡單’的暗淡
Simplicity has been difficult to implement in modern life, because it is against the spirit of a certain brand of people who seek sophistication so they can justify their profession.
-- Nassim Nicholas Taleb 《Antifragile:Things That Gain from Disorder》
譯:在現實生活中,簡單的做法一直難以實現,因為它有違某些努力尋求複雜化,以證明其工作合理性的人所秉持的精神。
『簡單』其實更複雜
Simple can be harder than complex: You have to work hard to get your thinking clean to make it simple。
-- Steve Jobs
譯:簡單比複雜更難,你必須儘力理清思路才能做到簡單。
KISS原則
Keep it Simple and Stupid
-- Robert S. Kaplan
譯:保持簡單和笨拙
UNIX的藝術
All the philosophy really boils down to one iron law, the hallowed ‘KISS principle’ of master
engineers everywhere.
-- Eric Steven Raymond 《The Art of Unix Programming》
譯:所有的UNIX哲學濃縮為一條鐵律,那就是各地編程大師們奉為圭臬的KISS原則。
遺失的奧卡姆剃刀
Entities should not be multiplied beyond necessity.
-- William of Ockham 《Occam's Razor》
譯:如無必要,勿增實體。
Maven的SNAPSHOT
因為信任所以簡單
寫在最後
1、《Antifragile:Things That Gain from Disorder》:https://book.douban.com/subject/34978407/
2、《The Art of Unix Programming》:https://book.douban.com/subject/1229959/
3、《The Mythical Man-Month》:https://book.douban.com/subject/6039354/
4、《Clean Architecture》:https://book.douban.com/subject/26915970/
作者|聶曉龍(率鴿)
本文來自博客園,作者:古道輕風,轉載請註明原文鏈接:https://www.cnblogs.com/88223100/p/We-are-not-good-at-dealing-with-simplicity.html