hpi-swa-lab / SqueakByExample-english

An introductory book about the Squeak/Smalltalk programming system, guiding students and developers through the environment, language, tools, and the Morphic framework by means of a series of examples and exercises.
https://www.lulu.com/shop/patrick-rein-and-christoph-thiede/squeak-by-example-60/paperback/product-8vr2j2.html
Other
25 stars 7 forks source link

Chapter 11 further issues #71

Open codeZeilen opened 3 years ago

codeZeilen commented 3 years ago

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)
LinqLover commented 1 year ago
LinqLover commented 1 year ago

@codeZeilen What is your opinion on the only last remaining item here, S6?

LinqLover commented 1 year ago

@codeZeilen Anything left to do here? :)