Tag

Effective Java

0 views collected around this technical thread.

Architect's Guide
Architect's Guide
Jun 8, 2025 · Fundamentals

Master Java API Design: 25 Essential Best‑Practice Rules from Effective Java

This article distills key guidelines from Effective Java, covering static factory methods, builder patterns, singleton protection, utility class design, memory‑leak avoidance, equals/hashCode contracts, composition over inheritance, generics, enums, exception handling, and many other best‑practice rules to help Java developers write cleaner, safer, and more maintainable code.

API designEffective JavaJava
0 likes · 24 min read
Master Java API Design: 25 Essential Best‑Practice Rules from Effective Java
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 27, 2023 · Fundamentals

27 Essential Java Programming Principles from Effective Java

This article distills the classic "Effective Java" book into twenty‑seven practical programming principles covering object construction, static factory methods, builders, enums for singletons, resource management, equals/hashCode, generics, method design, exception handling, and general coding best practices, providing clear guidance for Java developers.

Effective JavaJavabest practices
0 likes · 21 min read
27 Essential Java Programming Principles from Effective Java
macrozheng
macrozheng
Mar 2, 2023 · Backend Development

Does a try‑catch Inside a Java Loop Really Slow Down Your Code?

This article investigates whether placing a try‑catch block inside a Java for‑loop impacts performance, presenting JMH benchmarks, bytecode analysis, and insights from Effective Java to clarify common misconceptions and provide practical guidance on exception handling in performance‑critical code.

Effective JavaJVMJava
0 likes · 7 min read
Does a try‑catch Inside a Java Loop Really Slow Down Your Code?
Top Architect
Top Architect
Dec 11, 2020 · Fundamentals

Effective Java: 51 Essential Practices for Writing Clean, Efficient Java Code

This article distills key recommendations from Effective Java, covering static factory methods, builder patterns, singleton safety, utility class design, object creation, memory management, garbage‑collection, equals/hashCode contracts, immutability, generics, enums, collections, exception handling, and performance‑aware coding practices for robust Java development.

Effective JavaJavabest practices
0 likes · 22 min read
Effective Java: 51 Essential Practices for Writing Clean, Efficient Java Code