The Object-Oriented World View (OOWV)


The Laws of Object-Oriented Programming

Methods and Objects

Method
takes an object of type X
returns an object of type Y

Object
produced as output by method I
used as input for method J





Why a duck?


Common wisdom: "If it looks like a duck, and walks a duck, and quacks like a duck, then it's probably a duck."

OOWV: If it's a duck, then design it to look like a duck, and walk like a duck, and quack like a duck.



http://home.cc.umanitoba.ca/~frist/Seminars/iims07/iims07.html
FRISTENSKY LAB
BEGINNING Previous outlineNext END
UM