Software Engineering KB

Home

❯

05 Software Design and Architecture

❯

00 OOP and SOLID Principles

❯

02 Sub Concept

❯

Consistent Naming

Consistent Naming

Feb 10, 20261 min read

  • property
  • least-astonishment
  • naming

Consistent Naming

← Back to Principle of Least Astonishment

Use naming conventions that are consistent throughout the codebase and align with the reader’s expectations. A method named getUser() should not modify state, and saveOrder() should not return a calculated value.

property least-astonishment naming


Graph View

Backlinks

  • Principle of Least Astonishment

Created with Quartz v4.5.2 © 2026

  • GitHub