Most helpful positive review
A handy reference for producing expert code!
on April 19, 2002
This booklet is a significant tool in achieving correct effective and easily maintainable code:
1. Specifying the way code should be written, conforming with sun's coding conventions, keeps the code readable, and Java-docs coherent.
This is especially important when writing the code in a teem, or writing components which will be later used by others.
2. Chapter 5 lists a collection of coding tips, which can quickly turn a beginner programmer into an experienced one.
"Do not call nonfinal methods from within a constructor -
Subclasses may override nonfinal methods, and java will dispatch a call to such a method according to the actual type of the constructed object - before executing the derived constructors. This means when the constructor invokes the derived method, the derived class may be in an invalid state. To prevent this, call only final methods from the constructor. "
More about the book:
(note: this booklet does not teach Java, it focuses on the way the code should be written.)
The booklet is fun to use:
1. It is tiny, and fits anywhere.
2. Not intimidating - It is thin and distilled, not like those
huge books you put on the shelf and
never bother to open because you don't
know where to begin looking...
2. It is written in a simple direct logical manner:
a rule and a short explanation (with an example)
of the logic behind it.
3. Easy to locate what you are looking for.
4. every time you open it - you find something new...
In short - a handy reference for producing expert code!
I love it!