海拉姆定律 海勒姆定律 在程序设计中,接口和实现是很重要的两部分。通常在一个系统里面,接口就是一个与系统交互的抽象,比如汽车的方向盘和油门,刹车这些(我们通过这些来控制汽车,与汽车交互),而实现则是这个系统工作的一种方式,比如汽车的轮子和引擎(汽车实际是通过这些来工作的)。区分接口和实现的好处是非常明显的...
Taken to its logical extreme, this leads to the following observation, colloquially referred to as “The Law of Implicit Interfaces”: Given enough use, there is no such thing as a private implementation. That is, if an interface has enough consumers, they will collectively depend on every asp...
海拉姆定律(Hyrum's Law) 在看Building a high performance JSON parser时,里面提到海拉姆定律 Hyrum's Law An observation on Software Engineering 关于软件工程的一点看法 Put succinctly, the observation is this: 简单地说,观察结果是: With a sufficient number of users of an API, 如果一个 API 有足够数...