Pearson unterstützt die Ukraine. Wir stehen hinter allen Ukrainerinnen und Ukrainern. Mehr erfahren >>
Wird geladen …
Joshua Bloch

Effective Java

Auflage 3

The Definitive Guide to Java Platform Best Practices—Updated for Java 7, 8, and 9

Java has changed dramatically since the previous edition of Effective Java was published shortly after the release of Java 6. This Jolt award-winning classic has now been thoroughly updated to take full advantage of the latest language and library features. The support in modern Java for multiple paradigms increases the need for specific best-practices advice, and this book delivers.

As in previous editions, each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and updated code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why.

The 3rd edition covers language and library features added in Java 7, 8, and 9, including the functional programming constructs that were added to its object-oriented roots. Many new items have been added, including a chapter devoted to lambdas and streams.

New coverage includes

  • Functional interfaces, lambda expressions, method references, and streams
  • Default and static methods in interfaces
  • Type inference, including the diamond operator for generic types
  • The @SafeVarargs annotation
  • The try-with-resources statement
  • New library features such as the Optional interface, java.time, and the convenience factory methods for collections
  • eBook (PDF)
    33,16 €
  • Buch
    49,21 €

Produktdetails

Verlagsnummer: 9780134685991
ISBN: 978-0-13-468599-1
Produkttyp: Buch
Verlag: Pearson International
Erscheinungsdatum: 27.12.2017
Seiten: 416
Vorgängertitel: 9780321356680
Auflage: 3
Sprache: Englisch

Artikelbeschreibung

The definitive guide to Java programming language best practices from Josh Bloch

Each chapter of Effective Java, Third Edition, consists of several “items,” each presented in the form of a short, stand-alone essay that provides specific advice, insight into Java platform subtleties, and code examples. The comprehensive descriptions and explanations for each item illuminate what to do, what not to do, and why. While coverage is through Java 9, this guidance covers core Java features every programmer works with, regardless of which version.

  • Concurrency: write clear, correct, well-documented concurrent programs
  • Objects: creating and destroying; common methods
  • Classes and interfaces: guidelines for making them usable, robust, and flexible
  • Generics: tell the compiler what types of objects are permitted in each collection for safer and clearer programs
  • Enums and annotations: two special-purpose families of reference types
  • Functions: break a big job into smaller pieces that might well be written by different people separated by both time and space.
  • Lambdas and streams: create function objects with more ease
  • Method designs: treat parameters and return values; design method signatures; document methods
  • Exceptions: improve a program’s readability, reliability, and maintainability
  • Object serialization: the dangers of serialization and how to minimize them
  • General programming:
    • local variables
    • control structures
    • libraries
    • data types
    • reflection
    • native methods
    • optimization
    • naming conventions

 Programmers still consider this the best book on Java programming today.

Produktfinder