Prefer Principles, Axioms, and Analogies to Opinion and Taste

本文强调在创建架构时应明确使用原则、公理和类比作为指导,而非仅仅依赖个人经验、观点和品味。遵循清晰的原则可以提高架构文档的易读性和一致性,使架构师不必事必躬亲,并为后续或缺乏经验的架构师提供便利。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Prefer Principles, Axioms, and Analogies to Opinion and Taste

Michael Harmer

WHEn CREATing youR ARCHiTECTuRE you should explicitly use principles, axioms, and analogies to guide the creation. This gives the architecture a num- ber of benefits that are not present if you simply create by implicitly leveraging your experience, opinions, and tastes.
Documenting your architecture will be easier. You can start by describing the principles that were followed. This is much easier than trying to communicate your opinions and experience. The principles will then provide a convenient handle for those tasked with understanding and implementing the architec- ture. It will also be invaluable for subsequent or inexperienced architects who need to work with the architecture.
An architecture with clear principles is an architecture that frees its architect from reviewing everything and being everywhere. It gives architects greater leverage and influence. You will not need to be an omniscient workaholic to ensure that others can consistently:
• Implement and adapt the architecture
• Extend the architecture into related domains
• Reimplement the architecture using newer technologies
• Work out the detailed edge cases

Disagreements about opinion and taste invariably turn into political argu- ments in which authority is used to win. However, disagreements where the foundation principles are clear provide a way for more reasoned discussion to occur without issues being personalised. It also allows the disagreements to be resolved without reference to the architect at all.
Principles and axioms also give an architecture consistency throughout its implementation and across time. Consistency is often a problem, especially in large systems that span multiple technologies and will exist for many years. Clear architectural principles allow those unfamiliar with a particular technol- ogy or component to reason about and more readily understand the unfamil- iar technology.
Michael Harmer has worked in software for 16 years as a developer, team leader, architect, principal engineer, and practice manager.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值