文件名称:包设计原则
文件大小:3.45MB
文件格式:PDF
更新时间:2022-03-05 04:05:23
design
The majority of this book covers package design principles. But first we must consider the contents of a package: classes and interfaces. The way you design them has great consequences for the haracteristics of the package in which they will eventually reside. So, before considering package design principles themselves, we first need to take a look at the principles of class design. These are the so-called SOLID principles. Each letter of this acronym stands for a different principle, and we will briefly revisit them in the first part of this book.