PREFACE
This book is an introductory text in computer science, focusing on the principles of programming and software engineering. Here are its key features:
Teach objects gradually.
In Chapter 2, students learn how to use objects and classes from the standard library. Chapter 3 shows the mechanics of implementing classes from a given specification. Students then use simple objects as they master branches, loops, and arrays. Object-oriented design starts in Chapter 8. This gradual approach allows students to use objects throughout their study of the core algorithmic topics, without teaching bad habits that must be un-learned later.
Reinforce sound engineering practices.
A focus on test-driven development encourages students to test their programs systematically. A multitude of useful tips on software quality and common errors encourage the development of good programming habits.
Help students with guidance and worked examples.
Beginning programmers often ask "How do I start? Now what do I do?" Of course, an activity as complex as programming cannot be reduced to cookbook-style instructions. However, step-by-step guidance is immensely helpful for building confidence and providing an outline for the task at hand. The book contains a large number of "How To" guides for common tasks, with pointers to additional worked examples on the Web.
Focus on the essentials while being technically accurate.
An encyclopedic coverage is not helpful for a beginning programmer, but neither is the opposite—reducing ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access