principle 2 : quality is the eyes of the beholder
There is no one definition of software quality. To developers ,it might be an elegant design or elegant code. To users ,who work in stress environments,it might be response time or high capacity. For cost-sensitive projects, it might be low development cost. For some customers, it might be satisfying all their perceived and not-yet-perceived needs. The dilemma is that these may not be all compatible. Optimizing one persons quality might be detrimental to anothers.(This is Weinberg’s”Political Dilemma”principle. )A project must decide on its priorities and articulate them to all parties.
原則2:質(zhì)量是旁觀者的眼睛
軟件質(zhì)量沒有一個(gè)明確定義。對(duì)于開發(fā)人員來說,高的質(zhì)量可能是優(yōu)雅的設(shè)計(jì)或優(yōu)雅的代碼。但是對(duì)于在一些壓力環(huán)境中工作的用戶,他們可能希望高質(zhì)量是快速的響應(yīng)時(shí)間或高的容量。而對(duì)于成本敏感的項(xiàng)目,高質(zhì)量可能是低開發(fā)成本。對(duì)于用戶來說,高質(zhì)量的軟件可能滿足所有他們感知到的和尚未感知到的需求。但是有個(gè)困境就是,不可能完全滿足所有用戶的需求。當(dāng)我們優(yōu)化一個(gè)人的關(guān)注的質(zhì)量問題時(shí),可能會(huì)影響其他人的。(這是溫伯格的“政治困境”原則。)所以,一個(gè)項(xiàng)目必須決定其質(zhì)量標(biāo)準(zhǔn)的優(yōu)先級(jí),并向所有各方表達(dá)這一事項(xiàng)。