Specs 文档驱动开发的信条

阅读(1002)

有关Document-Driven Development(DDD)的信条:

The philosophy behind Documentation-Driven Development is a simple:
from the perspective of a user, if a feature is not documented, then
it doesn't exist, and if a feature is documented incorrectly, then
it's broken.

从另一个角度来说:

Documentation changes are cheap, code changes are expensive.

via: https://dzone.com/articles/documentation-driven-api-design-1

写一些不在乎有没人看的文档是没有意义的,而如API文档之类,是最基本且实用的,多方按照约定协作提升效率,减少不确定性。