One of the key elements of Google's software engineering culture is the use of design docs for defining software designs. These are relatively informal documents that the primary author or authors of a software system or application create before they embark on the coding project. The design doc documents the high level implementation strategy and key design decisions with emphasis on the trade-offs that were considered during those decisions.
As software engineers our job is not to produce code per se, but rather to solve problems. Unstructured text, like in the form of a design doc, may be the better tool for solving problems early in a project lifecycle, as it may be more concise and easier to comprehend, and communicates the problems and solutions at a higher level than code.
Besides the original documentation of a software design, design docs fulfill the following functions in the software development lifecycle:. 1point3acres
Early identification of design issues when making changes is still cheap.
. check 1point3acres for more.
Achieving consensus around a design in the organization.
Ensuring consideration of cross-cutting concerns.
Scaling knowledge of senior engineers into the organization.-baidu 1point3acres
Form the basis of an organizational memory around design decisions.
Acts as a summary artifact in the technical portfolio of the software designer(s).
Incidence Response Plan: what is the standard of procedures (SOP) in case of a service failure?
Threat Model: what are the possible threats and mitigations?
Penetration testing: how to run penetration testing on this service?
.