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.