the key to writing good programs is to design classes so that each cleanly represents a single concept .often ,this means that you must focus on questions such as:How are objects of this created? Can objects of this class be copied and/of destroyed?What operations can be applied to such objects?If there are no good idea to think more about the problem and its proposed solution instead of immediately staring to "code around" the problems.
第一小章节看完了。