2014年5月15日 星期四
Q49 很少事務比列舉好的範例更實在。
馬克‧吐溫:"Few things are harder to put up with a good example." , 要說明一件事務列舉適當的例子最能說明白,不論教學或某理論的敘述,事實上,在日常生活中,這句話一樣適用,有些人,亂舉一些「543」的例子,不知所云。
2014年1月14日 星期二
Q48: 分析的結果必須反應確切的問題敘述以及可能解決方案的限制,但不一定有作用。
Rebecca Wirfs-Brock: "Analysis results need to reflect an accurate statement of the problem and constrain possible solution, but they don't have to work." 分析是在反應使用者的真實世界,而設計必定會反應實作者的世界,兩者並不一定完全一致,因為設計者仍然必須解決一些實作的問題,因此實作時會加上一些條件,這種現象十分普遍,解決之道可能可以使用敏捷方法或MDA技術,甚至CRC cards技術,因為非正規的發展流程允許參與者提供設計意見而無障礙。
2013年12月9日 星期一
Q47: 如果你能衡量而能用數據表達你所說的,就表示你知道你在說甚麼,否則你的知識是貧乏而且不完整。
這是原自於Lord Kelvin (1883)所說的話:"When you can measure what you are speaking about, and express it in numbers, you know something about it; but when you cannot measure it, when you cannot express it in numbers, your knoledage is of a meager and unsatisfactory kind."這則諺語是『軟體度量』的基本之一。
2013年12月5日 星期四
Q46:除非即刻需要而且有意義否則就不要產生文件。
這是所謂Martin's First Law of Documentation,這個規則係來自「敏捷宣言」第二項:『可用的軟體重於詳盡的文件』,這並非叫你不要寫文件,但太多太詳盡的文件不如少一點,發展團隊撰寫與保養的是簡短合理且有結構的文件,這就是Martin的第一文件規則。
2013年11月29日 星期五
Q45:大致對比嚴格錯來得好。
來自 "It is better to be roughly right than precisely wrong." (John Maynard Keynes 英國經濟學家 1883-1946),這是在呼應Q44諺語。
2012年7月29日 星期日
2011年6月27日 星期一
Q43: 如果你想毀掉一個人的一天,就給他一個程式; 如果你想毀掉一個人的一生,就教他寫程式
If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime.
訂閱:
文章 (Atom)