Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Explore BestHub

#Getter/Setter

RSS feed
Follow or choose interest 7-day signal and related keywords

Latest articles

3 articles in the current browsing window, ordered by publication date.

Why Java Developers Prefer Lombok Over Public Fields: Dogmatism's Toll

This article argues that Java developers adopt Lombok as a compromise against dogmatic encapsulation that mandates getters/setters for fields rarely needing custom logic, while also criticizing unnecessary interface/impl splits and DTO naming conventions, illustrated by a case where a getter enabled quick refactoring across hundreds of call sites.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.