Index

#addFloat: Mediating Protocol 58

#addInteger Mediating Protocol 58

Array pattern 133135

example 191201

arrays

duplicate elements 118119

numbers in a range 135137

numbers in sequence 137138

become method 8

behavior, definition 19

best practice, defined 1

blocks, formatting 177178

Boolean Property Setting Method pattern 100101

ByteArray pattern 135137

Caching Temporary Variable pattern 106108

Cascade pattern 183185

last message doesn’t return receiver 186188

Choosing Message pattern 4547

Choosing Method pattern, example 191201

classes

Array pattern 133135

arrays

duplicate elements 118119

numbers in a range 135137

numbers in sequence 137138

ByteArray pattern 135137

Collection pattern 115116

collections

duplicate elements ...

Get Smalltalk Best Practice Patterns now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.