This is a book about computer programming for everyone: artist, poet, student, doctor, accountant, or engineer. It assumes you know very little or nothing about how computers work. This book will show you how to write understandable computer programs in Java, a programming language widely used on the Internet.
Why should you be interested in learning computer programming? Even though most readers will not wish to become professional programmers, programming is fun and useful. You will enjoy learning a new skill and becoming good at it. And, in today's world it is important for professionals in any field to appreciate what computers can (and cannot) do well. To reach this level of understanding, you must go beyond the routine skills of a computer user and learn the art of programming in some depth.
While emphasizing general principles of programming, this book:
• Uses examples from the humanities only, requiring no math or engineering knowledge.
• Explains concepts by means of complete programs.
• Concentrates on exercises solved by writing complete programs.
• Takes you from text input/output to object-oriented programming in the equivalent of a one-semester class.
• Gives you a solid background for a follow-up course on the graphics and networking facilities of Java.
This book is a sound and complete introduction to programming and not just another Java reference book for those who already know how to program. Although the book uses Java, the same methods can be used for systematic programming in other languages, such as C, Fortran, and Pascal. The book makes a splendid text for a one-semester course on beginning programming. For such a course, a simple input/output interface is available from the author's website. The author, Professor Per Brinch Hansen, is one of the leading pioneers in computer programming, and his insight and experience make learning proper computer programming in Java fun and easy for everyone.