BuildingApplicationWithSpec2
BuildingApplicationWithSpec2 copied to clipboard
Comment to chapter 11
p. 107 “For example, let me show you the following code snippet:” – it would be very nice to explain that these snippets can be executed in a Playground.
p. 110 Typo “SpPresenter < #MyMiniBrowserPresenter” should be “SpPresenter << #MyMiniBrowserPresenter”.
p. 111 Mistakes in code snippets
- “roots: Object asOrderedCollection;” should be “roots: { Object };”
- “methodsFilteringList := self newFilteringList. methodsFilteringList display: [ :method | method selector ]. methodsFilteringList listPresenter” – always should be methodsList instead of methodsFilteringList.
p. 112 The same mistakes as above.
p. 113
- methodsFilteringList --> methodsList
- “we can either do it in the initializePresenters method of override the connectPresenters method.” – should be “method or override”.
p. 114
- ifFalse: [ button label: 'Edit'. newShower := self newText beNotEditable ] “a dot missed!”
- methodsFilteringList --> methodsList