Latest articles
3 articles in the current browsing window, ordered by publication date.
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.

This article explains Python encapsulation fundamentals—including classes, objects, attributes, methods, naming conventions for protected and private members, and practical getter/setter patterns—through clear code examples that demonstrate safe data handling and object-oriented design.

This article explains how Python class attributes can be hidden from external code using double‑underscore name mangling, demonstrates the effect with concrete examples, and shows how to provide controlled access through getter, setter, and validation methods.

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