Objects and Patterns Workshop by Bill Venners
Introduction and Overview
Lecture Handout
Object Design Workshop
-
Guidelines and Idioms: Best practices in object-oriented Java design
-
Me: Present the Guidelines and Idioms
-
We: Discuss the Guidelines and Idioms
-
We: Work on an API Design Project
-
You: Present your API to us
-
We: Critique it mercilessly
Goals
- Facilitate a discussion about design
- Learn from each other
- Improve your object-oriented design skills
- Learn about the Java language
- Create an API design experience
- Leave with a concrete set of guidelines and idioms
Agenda
-
Guideline Grab Bag (exceptions, thread safety, finalizers)
-
API Design Project and the Event Generator Idiom
-
Designing Objects
-
More API Design Project
-
Designing with Composition and Inheritance
-
More API Design Project
-
Designing with Interfaces
-
More API Design Project
-
Design Patterns
Guideline Zero
-
Every guideline presented in this workshop should be ignored some of the
time, including this one.