Example

Object-Oriented Design
    • Similar object classes
    • Common interfaces
    • Common usage
    • Code reuse-- inheritance
    • Defers implementation
      and algorithm decisions
Procedural Design
    • Algorithm centered--
        forces early implementation
        and algorithm decisions
    • Exposes more details
    • Difficult to extend
    • Difficult to maintain
Lecture 2 Slide 3 6.837 Fall '98