Watch · Arun | Engineering Judgment
Fix Primitive Obsession in Java: Refactoring Example
Primitive obsession means using plain values, like an int for age, where a small class would keep the rules in one place. In this Java refactoring example, fields in a patient-records app become small classes, such as a…
YouTube