Table of Contents For
People-Oriented API Design
by Bill Venners
Part I. Objects
Design objects for people, not for computers.
Think of objects as machines.
Understand the kinship between objects and state machines.
See objects as bundles of behavior, not bundles of data.
Learn to juggle state, behavior, and identity.
Design Experts that use their state to decide how to behave.
Design Messengers when you don't know the behavior.
Design Performers when you need pluggable nuggets of behavior.
Design Values when identity doesn't matter.
Keep Immutability in your shirt pocket.
Design objects that can defend themselves.
Part II. APIs
About the Author
© 1996-2015 Artima, Inc. All Rights Reserved. -
Advertise with Us