For the fame of the winner of the 2005 Tech Book jolt Award, I have been taking a few days to browse the electronic version of better, faster, lighter Java (it is said that the Chinese translation is called: java, sweat first ).
The author positions this book as an experienced Java programmer who describes the methods and principles for writing better code. Therefore, for those who have been studying Java for many years and have rich programming experience, the methods and principles mentioned in this book are both old-fashioned, and there is no value to them. However, for inexperienced people, it is good to use it as the first book to start Java programming, because you can see the prevailing ideas from the above (to avoid being misled by outdated ideas), which are often distributed in many books. With this book, you don't have to worry about it everywhere-Think of it as a directory, you can follow this book to learn more in detail and explore the methods mentioned in it.
The book not only extensively explains some methods and principles for compiling code, but also introduces the popular two Java frameworks spring and hibernate, if you do not know what the two are, or you have never heard of them for a long time, you can simply start from here-it's very easy. Finally, the author uses a trendy small project-search engine and famous pet store-to demonstrate the methods and principles he mentioned in practice.
A small book is easy to read, but there are still a lot of things to learn. Just like the title of the book: I learned to write pleasant code in a relaxed and pleasant way. If you have just learned the Java syntax, took over your first project, or are curious about the Java World, read this book.
BTW: although the title is intended to explain how to write better, faster, and lighter Java programs, many points of view throughout the book are general and universal, and are no longer limited to the Java language.
Five Principles in the appendix:
Keep it simple
Do one thing, and do it well
Strive for Transparency
Allow for extension
You are what you eat