Tagged articles

Boilerplate Reduction

3 articles · Page 1 of 1
java1234
java1234
Jun 7, 2026 · Fundamentals

Master Java 16’s Record Feature in 10 Minutes

This tutorial explains Java 16’s record feature—a concise way to define immutable data carriers—by comparing it with traditional classes, showing the boilerplate it eliminates, detailing the automatically generated methods, providing hands‑on code examples, and outlining important usage considerations.

Boilerplate ReductionImmutable DataJava
0 likes · 7 min read
Master Java 16’s Record Feature in 10 Minutes
CodeNotes
CodeNotes
Jun 5, 2026 · Backend Development

8 Essential Lombok Annotations to Slash Boilerplate in Spring Boot

This article walks through eight core Lombok annotations—@Data, @Getter/@Setter, @Builder, @AllArgsConstructor/@NoArgsConstructor, @Slf4j, @RequiredArgsConstructor, plus two optional ones—showing real‑world Spring Boot examples, common pitfalls, team conventions, and when to avoid Lombok.

Boilerplate ReductionBuilderSpring Boot
0 likes · 9 min read
8 Essential Lombok Annotations to Slash Boilerplate in Spring Boot
macrozheng
macrozheng
Feb 14, 2020 · Backend Development

How Lombok Supercharges Your Java Code and Eliminates Boilerplate

This article explains what Lombok is, how to integrate it into a Maven project, and demonstrates its most useful annotations—such as @Getter, @Setter, @Builder, @AllArgsConstructor, @NoArgsConstructor, @RequiredArgsConstructor, @NonNull, @Cleanup, and @SneakyThrows—to dramatically reduce boilerplate, simplify object creation, enforce null checks, manage resources, and streamline exception handling in Java applications.

Boilerplate ReductionBuilder PatternException Handling
0 likes · 8 min read
How Lombok Supercharges Your Java Code and Eliminates Boilerplate