Produktinformation
Möchten Sie die Produktinformationen aktualisieren oder Feedback zu den Produktabbildungen geben?
Ist der Verkauf dieses Produkts für Sie nicht akzeptabel? |
This approach is designed to illustrate gotchas, some of which are surprisingly subtle. You use the book interactively: hence the affected decision to use the word Praxis (an archaic version of practice) to differentiate the 68 sections. In Objects and Equality Praxis, Haggar illustrates the differences between using on primitive integer values and on integer references. He then proceeds to show how making assumptions about the way the "equals" method works can cause even stranger--yet still legal--behaviours.
Basically, Peter Haggar is teaching you not to make assumptions about the way Java does things. A neat example is the Notify All methods which ensures all waiting threads are woken up. Threads activity is often dependent on the condition of other threads. You might reasonably assume Notify All wakes threads in priority order--but it doesn't. Its action is JVM-dependent.
Object- oriented programming is supposed to remove the need to know what's happening behind the scenes--but this is the real world, not a theoretical one. Understanding Java's underpinnings will make you a faster, more efficient, more highly paid programmer and newbies will sit beneath your swivel chair awaiting wisdom. --Steve Patient
This book is organized simply and effectively with 68 practical tips (or in the author's terms "praxes") for writing better Java code. Tips are grouped into sections, such as general tips, objects and equality, exception handling, and performance and multithreading. The book illustrates each tip with short code excerpts demonstrating effective coding strategies (plus several common Java pitfalls).
The book contains numerous standout sections, including the proper way to write equals methods for custom classes, tips for writing more efficient classes, and numerous do-it-yourself techniques for optimizing code. (As the author suggests, not all of today's Java compilers will do this optimization for you.) The book contains several sections that should be read by every Java developer, and though some tips are more obscure, there's certainly something to benefit every reader.
While C++ programmers have had books on coding style for years, Java is only now coming into its own with titles like this one. With its concise format, no-nonsense prose style, and expert-eye perspective on Java, Practical Java: Programming Language Guide shows the same maturing refinement as the language it lucidly describes. --Richard Dragan
Topics covered: Java programming tips, understanding references, final and static keywords, using instanceof, tips for garbage collection, custom equals methods, exception handling tips, using finally blocks, using exceptions with constructors, performance tips, compile-time vs. run-time code optimization, using StringBuffer, minimizing object creation, arrays, Java native code, multithreading tips, the synchronized keyword, spin locks, Java interfaces for emulating multiple inheritance, the abstract keyword, the clone method and immutable objects, tips for finalize methods.
Tags(Was ist das?)Bei einem Tag handelt es sich um ein Schlagwort, das zum Produkt passt.
Tags erleichtern allen Kunden die Suche und die Sortierung ihrer Lieblingsprodukte. |
|
Sagen Sie Ihre Meinung zu diesem Artikel:
|
||||||||||||||||||||||
|
Die hilfreichsten Kundenrezensionen
5.0 von 5 Sternen
Effective Java,
Von David Wendt (Apex, NC United States) - Alle meine Rezensionen ansehen
Rezension bezieht sich auf: Practical Java(tm) Programming Language Guide (Addison-Wesley Professional Computing) (Taschenbuch)
This book documents all those things every Java programmer should know. Like Scott Meyer's "Effective C++" series, we use it to settle arguments over the 'right-way' to write code (for Java in this case). Not only does it provide an easy to reference list of these 'Praxises' but it explains why. It is much easier to agree on how when the book has explained the why.I do have to agree some of the negative reviews which state that some of the tips are obvious but I have worked with some well-seasoned Java programmers who still don't get them. If the obvious ones were not included I would be here critizing the book for incompleteness. This book is definitely for all Java programmers. As future Java versions are released and adopted by the industry, I am hoping to see a "More Practical Java" book like Scott Meyer's "More Effective C++". Helfen Sie anderen Kunden bei der Suche nach den hilfreichsten Rezensionen
5.0 von 5 Sternen
On my way to writing robust code,
Von Larry L. Collins (Cary, NC USA) - Alle meine Rezensionen ansehen
Rezension bezieht sich auf: Practical Java(tm) Programming Language Guide (Addison-Wesley Professional Computing) (Taschenbuch)
Here's what recommends this book as a first choice for your library:~ Well organized with useful format; ~ Tackles here-and-now projects; ~ Clear explanations of what works and what doesn't; ~ Practical tips; ~ Excellent examples; ~ Helpful techniques for optimizing code; ~ Straightforward and concise; and ~ Guaranteed to improve your code. In sum, let the author guide you quickly to writing robust Java. Helfen Sie anderen Kunden bei der Suche nach den hilfreichsten Rezensionen
2.0 von 5 Sternen
Wait for "Effective Java Programming",
Von Albert Passy (Houston, TX USA) - Alle meine Rezensionen ansehen
Rezension bezieht sich auf: Practical Java(tm) Programming Language Guide (Addison-Wesley Professional Computing) (Taschenbuch)
This is a book for the beginning Java Programmer only. It'snot that the advice is bad: it's just that if you've programmed inJava for a while, most of it is obvious. Things like avoiding unneccessary object creation, especially complex objects with long inheritence chains. Or arrays are faster than Vectors. Or arraycopy() is faster than looping through the array.Josh Bloch's upcoming book, written in the same essay style, "Effective Java Programming," looks to be much more useful for the medium to advanced programmer. Helfen Sie anderen Kunden bei der Suche nach den hilfreichsten Rezensionen
Sagen Sie Ihre Meinung zu diesem Artikel: Eigene Rezension erstellen
|
Die neuesten Kundenrezensionen |
|
Das Forum zu diesem Produkt
Fragen stellen, Meinungen austauschen, Einblicke gewinnen Aktive Diskussionen in ähnlichen Foren
Kundendiskussionen durchsuchen
|
Ähnliche Foren
|
||||||||||||||||||||||||||||||||||
|