Lecture overview -- Keyboard shortcut: 'u'  Previous page: Abstract Datatypes -- Keyboard shortcut: 'p'  Next page: Action on objects -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Textbook -- Keyboard shortcut: 'v'  Help page about these notes  Alphabetic index  Course home  Page 11 : 22
Object-oriented Programming in C#
Introduction to Object-oriented Programming
Reusability

More reuse - Less software to manage

In object-oriented programming, classes are meant to be reusable buildings blocks.

Inheritance between classes is - in addition - an important mechanism that boosts reusability.

  • The challenges of reusability:

    • Find

      • Where is the component, and how do I get it?

    • Understand

      • What does the component offer, and how does it fit with my own program?

    • Modify

      • Do I need to adapt the component in order to (re)use it?

    • Integrate

      • How do I actually organize and use the component together with the existing components?

The four items describe reusability challenges in general.