ThinkJava2
ThinkJava2 copied to clipboard
Possible additional topics for Chapter 6 (Loops/Strings)
Would it be useful to add content to cover:
- Post-increment/decrement vs. pre-increment/decrement and how they differ when used in an assignment
x = ++y;
vsx = y++;
- do/while loops (particularly in the context of input validation)
- break (with cautionary note to avoid unless absolutely necessary)
It's always a question of where to draw the line, but we felt those topics were more about Java specifically than programming generally. However, there is some content in the middle of "Appendix E" which is not currently included in the book. You could integrate that content into your version of the book if it's useful.