uml note

Object Oriented Technique Summarize

  1. background

a)       Crisis of Software (20C60S)

  1.                      i.            long term
  2.                     ii.            expensive
  3.                   iii.            low efficiency of development& hard to guarantee the qualify
  4.                   iv.            complexity

b)       Software Engineering (Management& technique)

  1.                      i.            NATO (North Atlantic Treaty Organization) addressed it firstly 1968
  2.                     ii.            get rid of Software Crisis

c)        Differences Between Software and Hardware

  1.                      i.            different forms
  2.                     ii.            different producing ways
  3.                   iii.            different needs
  4.                   iv.            different maintaining methods

d)       The reason that caused the complexity and difficulty in developing software is the attributes belong to software itself. The complexity is always with software, its part of it.

e)       Why Software is complex

  1.                      i.            the compute structure (Von Neumann) nowadays
  2.                     ii.            software developing need intelligence, its hard to describe the essential regular or attributes
  3.                   iii.            the interaction between each element in software system could be irregular and random.
  4.                   iv.            need could be changed during the software life circle
  5.                     v.            have to adjust to different hardware environments during software life circle (especially the large-scale ones)

f)         Method to Control the Software Complexity

  1.                      i.            decompose
  2.                     ii.            abstract
  3.                   iii.            module
  4.                   iv.            information hiding (packaging)
  5. Basic Ideology of OO

a)       Dividing the question domain naturally to build question-domain-model in a way which is closer to human thinking, to make designed software could reflex on real world more directly, be more maintainable and adapt to user needs changing.

b)       Object world are combined of objects. Anything can be object, each object has its own inner state and rules, different object contact each other using Message.

原文地址:https://www.cnblogs.com/yuelien/p/12427213.html