ThinkJava2 icon indicating copy to clipboard operation
ThinkJava2 copied to clipboard

Possible additional topics for Chapter 6 (Loops/Strings)

Open jdeisenberg opened this issue 3 years ago • 1 comments

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; vs x = y++;
  • do/while loops (particularly in the context of input validation)
  • break (with cautionary note to avoid unless absolutely necessary)

jdeisenberg avatar Jun 03 '21 16:06 jdeisenberg

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.

ChrisMayfield avatar Jun 03 '21 19:06 ChrisMayfield