2023-07-07
by kevin
20 views
读书
The compiler also doesn’t know anything about how to handle external dependencies, such as third-party JAR files in Java. Often the best we can do without a build system is to download the dependency ...
阅读全文 »
2022-11-30
by kevin
20 views
读书
能够立即有效地浏览整个代码库意味着很容易找到相关的库来重用和好的例子来复制。 Most of the time, developers won’t notice when indices are out of date. They only care about a small subset of code, and even for that they generally won’t know...
阅读全文 »
2022-11-18
by kevin
17 views
读书
In all of this thinking, we’re assigning special significance to the trunk branch. But of course, “trunk” in your VCS is only the technology default, and an organization can choose different policies ...
阅读全文 »
2022-11-15
by kevin
22 views
读书
Our discussion of deprecation begins from the fundamental premise that code is a liability, not an asset. After all, if code were an asset, why should we even bother spending time trying to turn down ...
阅读全文 »
2022-11-09
by kevin
18 views
读书
Unit tests are limited by the imagination of the engineer writing them. That is, they can only test for anticipated behaviors and inputs. However, issues that users find with a product are mostly unan...
阅读全文 »
2022-10-20
by kevin
22 views
读书
Writing testable code requires an upfront investment. It is especially critical early in the lifetime of a codebase because the later testability is taken into account, the more difficult it is to app...
阅读全文 »
2022-10-11
by kevin
22 views
读书
At Google, we’ve found that engineers sometimes need to be persuaded that testing via public APIs is better than testing against implementation details. The reluctance is understandable because it’s o...
阅读全文 »
2022-10-01
by kevin
16 views
读书
Unlike the QA processes of yore, in which rooms of dedicated software testers pored over new versions of a system, exercising every possible behavior, the engineers who build systems today play an act...
阅读全文 »
2022-09-29
by kevin
13 views
读书
Instead, before you begin writing, you should (formally or informally) identify the audience(s) your documents need to satisfy. A design document might need to persuade decision makers. A tutorial mig...
阅读全文 »
2022-09-27
by kevin
16 views
读书
Google’s culture, like that of a lot of software companies, is based on giving engineers wide latitude in how they do their jobs. There is a recognition that strict processes tend not to work well for...
阅读全文 »