使用面向oo對象方法的12個優點

the principal benefits are follows:
 1.Less costly to Maintain
 Maintenance is Localized and thus is less costly and error-prone,even in face of changing requirements,provided that the inheritance structure doesn't have to be rewritten.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />


使用面向oo對象方法的12個優點
主要的優點如下所述:
1
維護費用低
 
假設繼承結構沒有必要重寫,即使是改變需求,那麼維護是局部的,因此維護費低,


 2.High Quality & Productivity
 Object Technology addresses the trade-off between quality and productivity.
Well-designed object-oriented systems are the basis for systems to be assembledlargely from reusable components,leading to higher productivity. Reusing existing classes that have been tested in the field on earlier projects leads to system which are of higher quality,meet business requirments better and contain fewer bugs.


2.
質量高,效率高

Object技術致力於質量和生產率之間的平衡折衷。
設計良好的面向對象系統是由可重用的大量組件組成的系統的基礎,這樣可以取得較高的生產率。 重用現有的在以前的項目的領域中已被測試過的類使系統能夠滿足要具有較高的質量並且較少錯誤的業務需求。


 3.Easily Extensible
 object-oriented programming,and inheritance in particular,makes it possible to define clearly and use modules that are functionally incomplete and then allow their extension without upsetting the operation of other modules or their clients.this makes systems more flexible,more easily extensible and less costly
to maintain.


3.
容易擴展

面向對象編程,尤其是繼承,有可能清楚地定義和使用模塊,即使模塊的功能不很完善,允許對它們進行擴展而無須操作其它模塊或紛擾它們的客戶。這使系統更靈活,更容易擴展,而且費用更低。


 4.a tool for complex projects
 Ojbect-orientation is a tool for managing complexity,leading to increased scalability(
可量測性?),there is no reason why effort should increase exponentially with project size and complexity as is the case with conventional
systems.

 

4.適用於複雜項目的一個工具

Ojbect-orientation是一個工具,用於管理複雜地不斷增加的scalability(可量測性),沒有原因說明爲什麼隨項目大小和複雜程序的增加工作量以指數形式增加,這是傳統系統的情況。

 5.thinking in natural
 in the same way,the partitionning of work in a project has a natural basis and should be easier,Analysis and design by partitioning a domain into objects corresponding to(
符合) solution-oriented view of their real-world counterparts(副本?) is often more natural than a top-down functional decomposition.
以自然方式思考

同樣,分割項目中的工作有自然基礎,而且應該更容易,通過將一個領域劃分成爲對象,這些對象符合它們的現實世界的對應物的基於解決的視點,這樣來分析和設計比自上至下的功能分解更自然。

 6.support Prototyping & evolutionary software developement method

 better Prototyping and evolutionary delivery are better supported,thus reducing time-to-market and requirements drift.
支持Prototyping & evolutionary(原型和進化)的軟件開發方法

Prototyping & evolutionary得到了更好的支持,這樣減少了市場化時間和變動要求。


 7.the message passing metaphor(
比喻,暗示?) means that interface descriptions between modules and external and legacy systems become much easier.
消息(message)傳遞metaphor意味着模塊與外部和遺留下來的系統之間的接口描述變得容易得多。
 8.There is greater seamlessness in passing from conceptual modelling, through analysis and design to coding. Objects can be used for all stages of modelling and there is a greater chance that the coded objects will correspond to something in the vocabulary of users:opening the possibility of shared understanding between developers and their clients.

通過分析和設計從conceptual modelling傳遞到編碼更加無縫。 對象能被用於所有modelling的所有階段,編碼對象將對用戶詞彙中的某些東西作出反應,這有一個極大的機會:打開開發者和他們的客戶之間的共享理解的可能性。
 9.greater reversibility to model
 Object-Oriented systems are potentially capable of capturing far more of the meaning of an application;its semantics. Since object-oriented methods are mainly concerned with modelling systems they can be used to carry out scenario modelling and facilite changes within the business. This property leads to greater reversibility(
可逆性) in the end product and enhances the possibility of reverse engineering systems and of tracing features back to requirements.
模式的更大可逆性

基於對象的系統有捕捉應用程序更多內涵的潛在能力;其語義學。 由於面向對象的方法主要關注模式系統,模式系統能被用來執行某一特定的模式和實現業務內的變化。 這一屬性導致終端產品中的更大reversibility(可逆性)並且提高了倒推工程系統和把特性回溯到需要的可能性 

 10.secure
 information hiding through encapsulation helps to build secure systems.

安全

通過封裝的信息隱藏有助於建立安全的系統。
 11.Formal specificaiton methods can be made to blend with object-oriented
design to some extent. I will have more to say on this later.
正式規範方法能被用來調和麪向對象的設計的一些擴展。 稍後我還將在此方面多費點口舌。


 12.Some applications have defeated other approachs and object technology seems to be the only way to build them efficiently. Examples are graphical user interfaces, distributed systems,agent-based systems and workfow systems.
一些應用已擊敗了其它方法,對象技術似乎是唯一有效的創建方式。 例子是圖形化了用戶接口,分佈式系統,agent-based系統和workfow系統。

--
摘自《Object-Oriented methods principles & practice3rd edition,Ian Graham。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章