Some comments/suggestions on bashful-barracuda:
- Section 1.14: Unlike in some languages, if expressions have values ...
Maybe I'm overcomplicating it but if if is an expression it must have a value. Maybe explaining the difference between statements and expressions would be overkill but, for me, being an expression is tha same as having a value.
- Section 1.17: So if you want to increment a whole sequence of functions
It should be a sequence of numbers
- Section 1.18, exercise 5: The range function produces a list of numbers
As sequences have already been introduced (informally), I think it would be better to say a sequence of numbers.
- Chapter 2: def shift(self, xinc, yinc): ....
The first time method shift is presented in python, I think it should be inside a class definition (like the java version was).
- Chapter 2: the comparison between x += xinc and this.x += xinc
I think it would be clearer if both methods were inside a class definition which define x and y as instance variables.
- Section 3.1: Keywords have the nice property that theu act as functions ....
I don't know if it would be interesting to add that maps can act as functions too.
- Section 3.4: Exercise 2. so weâ€TMll use a instead:
The funny â€TM
- In the same exercise, the same funny combination appears after the (a Triangle ...) expression.
Juan Manuel