Listings

2.1 A simple method call as pseudocode.

2.2 Fields within classes, instances, and namespaces, as defined and used in C++.

2.3 A Java class, and one possible equivalent object and type.

2.4 Typing as context.

2.5 A method call chain as pseudocode.

2.6 Simple method call for Figure 2.5.

2.7 Example of a Recursion method call in Java.

2.8 Example of a Delegation method call in C++.

2.9 Example of a Redirection method call in Objective-C.

2.10 Example of a Conglomeration method call in Java.

5.1 Uninitialized data.

5.2 Fixed default values.

5.3 Dynamic initialization

5.4 Create Object Implementation.

5.5 Retrieve with an update.

5.6 Retrieve in a temporary variable.

5.7 Basic inheritance example in Objective-C.

5.8 Overriding an implementation.

5.9 Implementation assumption mismatch.

5.10 Obvious fix—but likely not feasible.

5.11 Fixing a bug while leaving old code in place.

5.12 Using Redirection to hide part of an interface.

5.13 Animals almost all move but in very different ways.

5.14 CEO delegates out responsibilities.

5.15 Tom paints the fence with help.

5.16 Prep work and cleanup are important.

5.17 Prep work and cleanup are decomposable.

5.18 Instance swapping for protocol fallback in C++.

5.19 Auto fallback/forward using Revert Method.

5.20 Using Redirection in Python to add behavior.

5.21 Using Extend Method to add behavior.

5.22 Inviting friends naively in Java.

5.23 A slightly better approach for inviting friends.

5.24 Delegated Conglomeration in Java.

5.25 Traditional iteration and invocation in C.

5.26 Object-oriented iteration and invocation in C++.

5.27 Basic Redirected Recursion in C++.

5.28 Paratroopers implementing Redirected Recursion.

5.29 UI widgets demonstrating Trusted Delegation in C++.

5.30 Event handler in C++ showing Trusted Redirection.

5.31 UI widgets demonstrating Deputized Delegation in C++.

5.32 UI widgets demonstrating Deputized Redirection in C++.

6.1 Conditionals to select behavior.

6.2 Using Objectifier to select behavior.

A.1 Simple code example

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.30.62