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 语义软件设计
管理与运营
257
为了完成这些工作,你可以考虑使用本书介绍的思路与实用技巧。最后一项测试是
自行思考,并与其他人进行交谈,从不同的角度测试概念。
概念的测试需要尽早、频繁且积极地进行。随着时间的推移,这种需求会有所减少。
你必须确保概念内部的统一性,所有组件的正确命名,并且能够对软件质量产生短
期以及长期的巨大影响。
11.5
代码审核
通常,我会将代码审核视为检查程序员是否遵守要求的一项手段。代码审查很重要,
但不应强迫代码审查者肩负
QA
的工作,或检查编程约定的遵守情况。
代码审核者应该鼓励和深化概念,拓宽对概念的理解和应用。为了促进编程人员的
进步,代码审查应共享知识、提供指导、推荐最佳实践资源,以及将最佳实践转化
成原则,并要求程序员严格遵守。代码审核能够帮助团队发展。如果能够让每个人
都积极参与代码审核,就能够减少只有少数人(甚至一个人)掌握某个知识点的情况。
这有助于重构设计。
代码审核的目的不是让某个人难堪或吹毛求疵。我们的目的是促进程序员的成长,
而不是打压他们。
作为首席语义学家、设计师或概念设计师,你应该偶尔检查一下实现,以确保设计
得到了正确的实现。
首先,概念需要经过充分测试,如上一节所述。在代码上传到存储库后,代码审核
的工作就要开始了,下面是一些提示和指南,可用于确认你们的代码审核流程是否
合理:
建议使用
Git
之类的版本控制系统和
Bitbucket
之类的工具,这样可以方便查看
拉取请求的提交和差异,发表评论,还可以用对话的形式查看评论。代码只有
通过审核者批准才能提交。一般来说,这是一种非常好的做法 ...
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