Why we need a book about naming things

栏目: IT技术 · 发布时间: 5年前

内容简介:Naming is one of the most frequently-used and timeless skills in software engineering, but it’s poorly understood and poorly executed. As software engineers, we generally use a great deal of structure in how we write software, but we know few best practice

— Martin Fowler

Problem

Naming is one of the most frequently-used and timeless skills in software engineering, but it’s poorly understood and poorly executed. As software engineers, we generally use a great deal of structure in how we write software, but we know few best practices in software engineering’s most enduring artifacts: the names of things.

This lack of best practices leads to codebases that are difficult to understand, confusing communication, mental overhead, slow onboarding, and many other inefficiencies. How many times have you apologized for the naming of something or struggled to remember the meaning of an unclear name within a codebase? You’re not alone!

Solution

How do we fix this? As with other software engineering skills, we can develop best practices and learn how to apply them. Best practices for naming aren’t readily available. Bits and pieces have been scattered throughout blog posts and small sections in some books, but there isn’t a definitive guide on how to name things in software engineering.

Naming is important, and the best practices for it should be more accessible to more engineers, so I’ve decided to write a book about it. The working title is Naming Things: The Hardest Problem in Software Engineering . :wink:

The book will describe why naming hard but important, then describe principles for good names and how to apply them. The scope will be naming within day-to-day software engineering, focusing on the practical application of best practices for naming data models, classes, functions, and similar concepts.

This book has an audacious goal of making software engineering more efficient and enjoyable, but I’m confident that we can achieve this by applying the same practical, rigorous structure that we’ve used to improve other aspects of software engineering.

If you’d like to be notified when the book is available, click the button below:

If you’d like to know more, or would like to help with the book in any way (e.g., provide feedback on drafts), feel free tocontact me!


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

社交电商

社交电商

[美] Stephan Spencer(斯蒂芬.斯宾塞)、[美] Jimmy Harding(吉米.哈丁)、[美] Jennifer Sheahan(詹尼弗.希汉) / 谭磊 / 电子工业出版社 / 2015-3 / 69.00元

你想要在互联网上赚钱吗?想要做好电子商务吗?那么你一定不能忽视社交媒体的力量。不管你想要营销的是实物商品、电子类产品还是本地的服务,这本书会教你怎么做。 《社交电商》全面介绍形形色色的社交媒体以及如何利用这些社交媒体来为你的企业做好服务。如果你经营得不好,在社交媒体上散发出的只是噪声而不是真正的信息。 而如果做得好,社交媒体会成为你最有效的营销工具,帮助你赢得老客户的拥戴,获得新的客户。 ......一起来看看 《社交电商》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具