0%

Book Description

This classic book is the definitive real-world style guide for better Smalltalk programming. This author presents a set of patterns that organize all the informal experience successful Smalltalk programmers have learned the hard way. When programmers understand these patterns, they can write much more effective code. The concept of Smalltalk patterns is introduced, and the book explains why they work. Next, the book introduces proven patterns for working with methods, messages, state, collections, classes and formatting. Finally, the book walks through a development example utilizing patterns. For programmers, project managers, teachers and students -- both new and experienced. This book presents a set of patterns that organize all the informal experience of successful Smalltalk programmers. This book will help you understand these patterns, and empower you to write more effective code.

Table of Contents

  1. Title Page
  2. Copyright Page
  3. Contents
  4. Preface
    1. What’s it all about?
    2. Why should you read it?
    3. What isn’t it about?
    4. Acknowledgments
  5. Chapter 1. Introduction
    1. Coding
    2. Good Software
    3. Style
    4. What’s Missing?
    5. Book Organization
    6. Adoption
    7. Learning a Pattern
  6. Chapter 2. Patterns
    1. Why Patterns Work
    2. Role of Patterns
    3. Format
  7. Chapter 3. Behavior
    1. Methods
    2. Messages
  8. Chapter 4. State
    1. Instance Variables
    2. Temporary Variables
  9. Chapter 5. Collections
    1. Classes
    2. Collection Protocol
    3. Collection Idioms
  10. Chapter 6. Classes
    1. Simple Superclass Name
    2. Qualified Subclass Name
  11. Chapter 7. Formatting
    1. Inline Message Pattern
    2. Type Suggesting Parameter Name
    3. Indented Control Flow
    4. Rectangular Block
    5. Guard Clause
    6. Conditional Expression
    7. Simple Enumeration Parameter
    8. Cascade
    9. Yourself
    10. Interesting Return Value
  12. Chapter 8. Development Example
    1. Problem
    2. Start
    3. Arithmetic
    4. Integration
    5. Summary
  13. Appendix A. Quick Reference
  14. Index
18.221.187.121