Packages, Interfaces, and Abstract Data Types
摘要
This chapter deals with the important programming principles indicated in the preface, which are independent of NSP. It only serves to illustrate some aspects of the programming techniques used in this book. Essentially, this is about how fundamental software engineering principles can be implemented in Go. Some basic packages from the source texts of this book, the µUniversum, are introduced, and some examples are given—the interface object and the abstract data types “queue” and “bounded buffer.” They serve to explain in detail the realization of some software principles.