我们会在《第6章 - Scala 高级面向对象编程》的“当方法和字段存取器无法区分时:唯一存取的原则”章节来更多的讨论这一点。
We’ll discuss this more in the section called “When Accessor Methods and Fields Are Indistinguishable: The Uniform Access Principle” in Chapter 6, Advanced Object-Oriented Programming In Scala.
与所有其它编程方法一样,面向对象编程的核心目标是实现数据在持久化存储系统中的存取。
Like any other programming methods, to store and fetch data is the most important target for object-oriented programming.
应用推荐