Point well taken, thanks for the feedback. In my later chapters, namely those beginning in Part 2 of the book, I took the approach that the reader already knew the Python language syntax and had some familiarity with Java...those chapters were definitely easier for me to write. ;) During the editing phase (beginning next week via Apress), I'll muddle through the first few chapters and do some cleanup to make them more efficient and to the point.
Best to you
Twitter ID: javajuneau
Josh Juneau ha scritto:The read is slow because the text seems to be assuming the reader does not know the basics of the control structures already.
Thanks for the input Andrea. The first part of the book is meant to be a primer for those who have never programmed in Python before really. It is more a of a language basics part. We expect those who are already familiar with Python to jump past part one altogether (or at least skip through the boring parts) and go right to part two. If you download the table of contents, each of the chapters has the author's name noted next to it. No doubt we will probably have to shift some things around a bit in the end to make it flow a bit better. Jim Baker is currently authoring chapter 4 and it sounds as though it may be a bit advanced to come right after the first three chapters. It was not my intention to write the first three chapters to be such a s-l-o-w read, but it seems that they came out that way.
Take the while loop. If you come
from java you already know it, there is no need to explain it much,
the only thing that's interesting is the loop exiting clause, and
that is left for a later chapter.
Imho the first chapter should be very short on the while loop itself
and direct (very few) people not knowing it to a programming language
resource like "how to think like a computer scientist in python"
and get down to business with the parts that make the jython while
Just my 2 cents