Tagged articles
8 articles
Page 1 of 1
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.

Effective Javaapi-designbest practices
0 likes · 24 min read
Master Java API Design: 25 Essential Best‑Practice Rules from Effective Java
JavaEdge
JavaEdge
Sep 25, 2024 · Backend Development

What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features

The article outlines the twelve preview features introduced in JDK 23, from primitive pattern matching to structured concurrency, and argues that mastering timeless programming principles from Effective Java can help developers adapt to such language evolutions.

Effective JavaJDK 23New Features
0 likes · 10 min read
What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features
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.

Design PatternsEffective Javabest 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?
Su San Talks Tech
Su San Talks Tech
Feb 26, 2023 · Backend Development

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

A practical benchmark compares placing a try‑catch inside a Java for‑loop versus wrapping the loop with try‑catch, revealing that the performance difference is negligible and that the real impact depends on exception frequency and code design rather than the try‑catch placement.

Effective JavaJMHbenchmark
0 likes · 6 min read
Does a try‑catch Inside a Java for‑loop Really Slow Down Your Code?
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 24, 2021 · Fundamentals

Master Java Best Practices: 75 Essential Tips from Effective Java

This comprehensive guide distills the key lessons from Effective Java, covering static factories, builder patterns, singleton pitfalls, generics, enums, serialization, concurrency, and many other best‑practice recommendations, providing Java developers with actionable advice to write cleaner, safer, and more maintainable code.

Effective JavaGenericsbest practices
0 likes · 83 min read
Master Java Best Practices: 75 Essential Tips from Effective Java
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.

Design PatternsEffective Javabest practices
0 likes · 22 min read
Effective Java: 51 Essential Practices for Writing Clean, Efficient Java Code
Programmer DD
Programmer DD
Nov 20, 2020 · Fundamentals

15 Must‑Know Java API Design Tips from Effective Java

This article distills key recommendations from Joshua Bloch’s Effective Java, covering static factory methods, builder patterns, singleton protection, memory management, and API design conventions, providing concise examples and practical guidance to help Java developers write clearer, more efficient, and safer code.

Effective Javaapi-designbest practices
0 likes · 23 min read
15 Must‑Know Java API Design Tips from Effective Java