From the beginning to learn programming, object-oriented is our goal, has been learning. has been used, has been overturned, has been again established, the "OO" understanding, always on the edge of wandering.
Although learning is a repetitive, elephant process, why did it take us two years or just to circle around an elephant's leg?
Personal situation:
1, the members of the object-oriented family are aware, and only very little " active and their dealings ."
Always accustomed to a fixed programming habits, using familiar methods to think, do not want to contact, to explore the "unfamiliar", not to take the initiative to use. and "oo" is indeed "you use or not, I am there", so we and "oo" is relatively delicate wait and see.
2, in order to use and use, do not know the reason why
Programming. There are generics, there are collections, understand inheritance, polymorphism. Also used, but no in-depth thinking. What have these things brought us?
Without control, you will not see the greatness of giants, of course, will not stand on the shoulders of giants to think.
3. No extension
The use of sets, generics, experience a little merit, complacent, no thought at this level of other situations, or on the larger level, the similar situation can not be used, so stay in the "OO" epidermis. Cannot go deep.
It's a note taken during a lecture.
1. There are only two things in object-oriented: class, Object . The former is "virtual", only has been instantiated, is the "real"we need.
2, object-oriented in whatever form of expression, in the final analysis is through the "class" Display (interface is also a class).
3, the definition of the same time is in the "package", just the quality of the package is different, in the continuous abstraction, implementation/inheritance process, is the embodiment of polymorphism;
4, collection do not translate into "set", is collection.
Some things translate come to regret influence understanding. From the point of view of its own property, collection includes: List,map,set, container; do not let "list= collection" exist in the brain.
For this picture. Are "OO" family members. Are known to us all. No explanation, not a thing. Now write out always think superficial, the purpose of the map: collect collective ideas, the beholder, leaving your precious "thought"!
Object-Oriented tick drawing