Thinking in Java
Zerlinda_Li
岁月就这样静静的消逝没有眼泪没有生命也没有感情
展开
-
Thinking in Java -- Introduction to Object
"We cut nature up, organize it into concepts, and ascrible significances as we do, largely because we are parties to an agreement that holds throughout our speech community and is codified in the patt翻译 2015-05-11 23:35:06 · 601 阅读 · 0 评论 -
The progress of abstraction (抽象过程)
All programming languages provide abstractions .所有编程语言都提供抽象机制。It can be argued that the complexity of the problems you're able to solve is directly related to the kind and quality of abstraction.翻译 2015-05-14 00:20:28 · 1039 阅读 · 0 评论 -
An object has an interface (对象的接口)
Aristotle was probably the first to begin a careful study of the concept of type; he spoke of "the class of fishes and the class of birds." 亚里士多德或许是认真研究“概念的第一人,”翻译 2015-06-08 15:01:36 · 714 阅读 · 0 评论 -
An object provides services(每个对象都提供服务)
While you're trying to develop or understand a program design, one of the best ways to think about objects is as "service providers." 当正在试图开发或理解一个程序设计时,最好的方法之一就是将对象想象为“服务提供者”。Your program itself wil翻译 2015-07-29 11:30:13 · 558 阅读 · 0 评论 -
The hidden implementation(被隐藏的具体实现)
It is helpful to break up the playing field into class creators (those who create new data types) and client programmers (the class consumers who use the data types in their applications).将程序开发人员按照角色分翻译 2015-11-10 22:41:44 · 595 阅读 · 1 评论 -
Reusing the implementation(复用具体实现)
Once a class has been created and tested, it should (ideally) represent a useful unit of code. 一旦类被创建并被测试完,那么它就应该(在理想情况下)代表一个有用的代码单元。It turns out that this reusability is not nearly so easy to achie翻译 2015-12-04 09:40:59 · 397 阅读 · 0 评论 -
Inheritance(继承)
By itself, the idea of an object is a convenient tool.对象这种观念,本身就是十分方便的工具.It allows you to package data and functionality together by concept, so you can represent an approriate problem-space idea ra原创 2016-01-06 19:25:02 · 431 阅读 · 0 评论 -
Is-a vs. is-like-a relationships("是一个"与"像是一个")关系
There's a certain debate that can occure about inheritance:Should inheritance override only baseclass methods(and not add new method that aren't in the base class)?对于继承可能会引发某种争论:继承应该只覆盖基类的方法(而并不添加在基类中翻译 2016-03-27 17:42:01 · 723 阅读 · 0 评论