The Elements of Java(TM) Style

The Elements of Java(TM) Style

4.11 - 1251 ratings - Source

The Elements of Java Style, written by renowned author Scott Ambler, Rogue Wave Software Vice President Alan Vermeulen, and a team of programmers from Rogue Wave, is for anyone who writes Java code. While there are many books that explain the syntax and basic use of Java, this book, first published in 2000, explains not just what you can do with the syntax, but what you ought to do. Just as Strunk and White's The Elements of Style provides rules of usage for the English language, this book provides a set of rules for Java practitioners to follow. While illustrating these rules with parallel examples of correct and incorrect usage, the book provides a collection of standards, conventions, and guidelines for writing solid Java code which will be easy to understand, maintain, and enhance. Anyone who writes Java code or plans to should have this book next to their computer.A method annotated with the synchronized keyword acquires a lock on the associated object at the beginning of the method and ... The Java language guarantees read-and-write actions are atomic for object references and all primitives, except for type long and type double. ... In this example, the assignment of x and y must be synchronized together because they are interdependent values: public voidanbsp;...

Title:The Elements of Java(TM) Style
Author:Al Vermeulen
Publisher:Cambridge University Press - 2000-01-28


You Must CONTINUE and create a free account to access unlimited downloads & streaming