text.skipToContent text.skipToNavigation
  1. Home
  2. Computer Science & IT
  3. Smalltalk Best Practice Patterns

Smalltalk Best Practice Patterns, 1st edition

  • Kent Beck

Published by Prentice Hall (October 3rd 1996) - Copyright © 1997

1st edition

Chosen format
View all
Smalltalk Best Practice Patterns

ISBN-13: 9780132852104

Includes: Unassigned

This product is not available in your country

What's included

  • Unassigned


Table of contents

1. Introduction.

Coding. Talking Programs. Good Software. Style. What's Missing? Book Organization. Adoption. Learning a Pattern.

2. Patterns.

Why Patterns Work. Role of Patterns. Reading. Development. Review. Documentation. Clean Up. Format.

3. Behavior.

Methods. Composed Method. Constructor Method. Constructor Parameter Method. Shortcut Constructor Method. Conversion. Converter Method. Converter Constructor Method. Query Method. Comparing Method. Reversing Method. Method Object. Execute Around Method. Debug Printing Method. Method Comment. Messages. Message. Choosing Message. Decomposing Message. Intention Revealing Message. Intention Revealing Selector. Dispatched Interpretation. Double Dispatch. Mediating Protocol. Super. Extending Super. Modifying Super. Delegation. Simple Delegation. Self Delegation. Pluggable Behavior. Pluggable Selector. Pluggable Block. Collecting Parameter.

4. State.

Instance Variables. Common State. Variable State. Explicit Initialization. Lazy Initialization. Default Value Method. Constant Method. Direct Variable Access. Indirect Variable Access. Getting Method. Setting Method. Collection Accessor Method. Enumeration Method. Boolean Property Setting Method. Role Suggesting Instance Variable Name. Temporary Variables. Temporary Variable. Collecting Temporary Variable. Caching Temporary Variable. Explaining Temporary Variable. Reusing Temporary Variable. Role Suggesting Temporary Variable Name.

5. Collections.

Classes. Collection. OrderedCollection. RunArray. Set. Equality Method. Hashing Method. Dictionary. SortedCollection. Array. ByteArray. Interval. Collection Protocol. IsEmpty. Includes:. Concatentation. Enumeration. Do. Collect. Select/Reject. Detect. Inject:into:. Collection Idioms. Duplicate Removing Set. Temporarily Sorted Collection. Stack. Queue. Searching Literal. Lookup Cache. Parsing Stream. Concatenating Stream.

6. Classes.

Simple Superclass Name. Qualified Subclass Name.

7. Formatting.

Inline Message Pattern. Type Suggesting Parameter Name. Indented Control Flow. Rectangular Block. Guard Clause. Conditional Expression. Simple Enumeration Parameter. Cascade. Yourself. Interesting Return Value.

8. Development Example.

Problem. Start. Arithmetic. Integration.


Appendix A: Quick Reference.


For teachers

All the material you need to teach your courses.

Discover teaching material