Аннотация
This book is concerned with the following topic: How to use the object- oriented programming facilities of Java effectively. There are several reasons why you might find this book useful.
Perhaps you are one of the many Java programmers who don’t know a lot about object orientation. You can use classes and write simple ones, and may even have written an interface or a subclass. But you don’t really get the point of it. You don’t see (let alone appreciate) the power and expressiveness of an object-oriented program design. This book will give you that understanding and appreciation.
Or perhaps you are comfortable with object-oriented concepts and appreciate the usefulness of polymorphism. You might have even dabbled with design patterns. They seem like a good idea, and everyone talks about them, but you don’t really understand how to use them in your own programs. This book will show you the underlying intent of the patterns, how their techniques can become a seamless addition to your programming toolbox, and how you can adapt their solutions to fit the needs of a given situation.
The Java library has a vast number of classes. You are probably comfortable with some of these classes, such as String, ArrayList, and HashMap, but you may have encountered other classes whose intent seems obscure. For example, perhaps you were told that you should always combine a BufferedReader with a FileReader when reading from a text file, but you never understood why things have to be so complicated. And what about all the other Reader subclasses—when should they be used? This book can help you make sense of the Java library. Many of its classes are organized around design patterns, and understanding the pattern helps to understand why the classes are the way they are and how they should be used.
Комментарии к книге "Java Program Design"