19

Rename Field


Goal

Field names match the domain role they play; readers don't need to inspect usage to know what a field means.

Before the refactoring
class Org { name; }
After the refactoring
class Org { title; }
Savings

Stronger encapsulation; future-you reads the class definition and immediately understands its shape.

Note

Field renames cross every reader/writer of the class — refactor in tooling-supported steps and update tests with each batch.