Skip to Content
语义软件设计
book

语义软件设计

by Eben Hewitt
September 2022
Beginner to intermediate
321 pages
4h 50m
Chinese
China Electric Power Press Ltd.
Content preview from 语义软件设计
72
3
正确命名,为其他事物和用户留出空间,让你的同事了解哪些对象属于该空间。
此外,请考虑在不同上下文中使用的
API
,无论是
UNIX
的管道和过滤器,还是
Xbox
、网络、电话和语音等用户界面。购物服务在这些用户界面中的表现都应该相同,
因为它代表的是我们基本的想法。而购物功能在每个平台的独特之处可以通过其他
组件来展示。
完成这些工作后,测试一下它们是否符合
MECE
原则(
Mutually Exclusive and
Collectively Exhaustive
),即将同一级别的名称放入同一个列表,确保它们互相不
重叠,而且没有任何遗漏
2
3.11
从用户的对立面着手
尽一切努力考虑用户、角色和他们的需求。然后暂时放下他们,考虑其他用户,例
如维护人员。
设计首先需要考虑程序员,因为他们将负责实现设计。所以从他们最常用的功能开
始。程序员是设计理念的重要用户和利益相关者,也是你为塑造系统的可能性而设
置的护栏。你的设计将决定他们的工作,你的设计可以导致他们的工作更辛苦,也
可以让他们的工作更容易、更愉快、更清楚。
因此,首先设计部署流水线,因为程序员在创建项目的过程中,需要执行无数次代
码的构建和部署。设计框架接口。设计监控,以便在整个过程中更多地理解、解读
和监听应用程序,这样在发布时,才能建立一个易于理解的可重复过程。首先从防
火梯、锅炉等看似与业务问题无关的部分开始,这样就可以给可重复过程提供最好
的条件,从而保证可预测性,以及洞察、理解和可靠性。
3.12
平台
我们知道,我们无法了解人们会怎样使用我们的系统。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

金融中的人工智能

金融中的人工智能

Posts & Telecom Press, Jeffrey Ng, Subhash Shah
移动端机器学习实战

移动端机器学习实战

Posts & Telecom Press, Karthikeyan NG
精通数据科学算法

精通数据科学算法

Posts & Telecom Press, David Natingga

Publisher Resources

ISBN: 9787519870300