SqueakByExample-english
SqueakByExample-english copied to clipboard
Chapter 11 further issues
Unsolved from #67
S6. Exercises vs. only code descriptions
- not really a problem but it feels kind of inconsistent
- some provided code snippets come with a request to define / update etc. them oneself (identified by a squeak cat head before them). (E.g. Method 11.4) Others come with an description and saying how things can be done. (E.g. Method 11.5). I suppose the ones without an exercise aren't really necessary to follow the tutorial? But as this chapter feels like a - try every example - tutorial this for me personally just appeared a bit inconsistent.
S10. Not using accessor methods
- In Method 11.29 instance variables are set directly and not via accessor methods, which especially for faces: and dieValue: is weird, because we define those methods later on (and they do sensible sanity checks)