Introduction_Part_6

Introduction_Part_6 - breaking the system up into distinct...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Last Updated: January 5, 2012 CSE 2011 Prof. J. Elder Abstraction The psychological profiling of a programmer is mostly the ability to shift levels of abstraction, from low level to high level. To see something in the small and to see something in the large. Donald Knuth Wassily Kandinsky (Russian, 1866-1944) Abstraction, 1922, Lithograph from the fourth Bauhaus portfolio
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Last Updated: January 5, 2012 CSE 2011 Prof. J. Elder Encapsulation Each object reveals only what other objects need to see. Internal details are kept private. This allows the programmer to implement the object as she or he wishes, as long as the requirements of the abstract interface are satisfied.
Background image of page 2
Last Updated: January 5, 2012 CSE 2011 Prof. J. Elder Modularity Complex software systems are hard to conceptualize and maintain. This is greatly facilitated by
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: breaking the system up into distinct modules. • Each module has a well-specified job. • Modules communicate through well-specified interfaces. Last Updated: January 5, 2012 CSE 2011 Prof. J. Elder Hierarchical Design • Hierarchical class definitions allows efficient re-use of software over different contexts. Is a Last Updated: January 5, 2012 CSE 2011 Prof. J. Elder Inheritance • Object-oriented design provides for hierarchical classes through the concept of inheritance . • A subclass specializes or extends a superclass . • In so doing, the subclass inherits the variables and methods of the superclass. • The subclass may override certain superclass methods, specializing them for its particular purpose. • The subclass may also define additional variables and methods that extend the definition of the superclass....
View Full Document

This note was uploaded on 02/14/2012 for the course CSE 2011Z taught by Professor Elder during the Fall '11 term at York University.

Page1 / 5

Introduction_Part_6 - breaking the system up into distinct...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online