Jump to ratings and reviews
Rate this book

Practical Java¿ Programming Language Guide by Peter Haggar

Rate this book
Now that Java is being used for real-world projects, the experts are figuring out what works and what doesn't when it comes to coding style. Peter Haggar's Practical Programming Language Guide compiles a remarkably useful set of over 60 coding tips that will make your programs more maintainable and perform better. Chances are that this title has something to offer every programmer who works with Java. 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 Programming Language Guide shows the same maturing refinement as the language it lucidly describes. --Richard DraganTopics 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.

Mass Market Paperback

First published February 11, 2000

5 people are currently reading
61 people want to read

About the author

Pankaj Jalote

18 books3 followers
Professor Pankaj Jalote is the Director of Indraprastha Institute of Information Technology.

He completed his PhD from University of Illinois at Urbana-Champaign in 1985, M.S. from Pennsylvania State University in 1982 and B.Tech. from IIT Kanpur in 1980.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
10 (25%)
4 stars
17 (42%)
3 stars
6 (15%)
2 stars
6 (15%)
1 star
1 (2%)
Displaying 1 - 3 of 3 reviews
Profile Image for Chris Lira.
284 reviews8 followers
October 13, 2012
A pretty good book. It bogged down a bit for me in the extensive coverage of multithreading, bit that's a minor complaint. I learned a few things.
Displaying 1 - 3 of 3 reviews

Can't find what you're looking for?

Get help and learn more about the design.