The Science of Programming/SwayPresentations/Objects/PrototypesVsClasses

From Wikibooks, open books for an open world
< The Science of Programming‎ | SwayPresentations/Objects
Jump to navigation Jump to search

Prototypes vs Classes

  • Prototype systems are simpler.
  • Instantiation via cloning
  • Inheritance via clientship/delegation

One fewer keyword!

Ungar and Smith state closure and object are two sides of the same coin.

Next Previous Top