Objects, Methods, and Object-Oriented ProgrammingProgrammer-Defined TypesAttributesCreating MethodsRectangles and Object CompositionInstances as Return ValuesInheritanceThe Pixel ClassThe MovablePoint ClassMultiple Inheritance: Attractive, but Is It Wise?Roles and CompositionClasses and Roles: An ExampleRole Composition and Code ReuseRoles, Classes, Objects, and TypesMethod DelegationPolymorphismEncapsulationPrivate MethodsConstructing Objects with Private AttributesInterface and ImplementationObject-Oriented Programming: A TaleThe Fable of the ShepherdThe MoralDebuggingThe Perl 6 DebuggerGetting Some HelpStepping Through the CodeStopping at the Right Place with BreakpointsLogging Information with Trace PointsStepping Through a Regex MatchGlossary