← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1971.o.1.b.4.a.1.a

对象要专责而开发者要跨角色协作

理解等级:高级

对象设计强调职责清晰、相互依赖少;团队协作不能照搬这种隔离。开发者可以尝试框架,架构师应写应用代码,成员之间应持续交流。

战略设计与细节设计是两类活动,但无需分成两类互不往来的人。深模型的细节设计要由接触代码的人完成;整体战略也应从应用设计中形成,并保持跨团队视野。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 原书第17章|Six Essentials for Strategic Design Decision Making · 查看原书依据

      The essence of good object design is to give each object a clear and narrow responsibility and to reduce interdependence to an absolute minimum. Sometimes we try to make interactions on teams as tidy as they should be in our software. A good project has lots of people sticking their nose in other people's business. Developers play with frameworks. Architects write application code. Everyone talks to everyone. It is efficiently chaotic. Make the objects into specialists; let the developers be generalists.

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第140章《Six Essentials for Strategic Design Decision Making》(源文件:_epub-src/0321125215_ch17lev1sec5.html) - 结论依据:六项要点之六:原文明确区分对象的专责与开发者的跨角色协作,并反对过度专业化。 - 原始内容:The essence of good object design is to give each object a clear and narrow responsibility and to reduce interdependence to an absolute minimum. Sometimes we try to make interactions on teams as tidy as they should be in our software. A good project has lots of people sticking their nose in other people's business. Developers play with frameworks. Architects write application code. Everyone talks to everyone. It is efficiently chaotic. Make the objects into specialists; let the developers be generalists.