← Back to Difficulty Selection

Code Review (Warmup): Inconsistent Naming Conventions

Story

Is it user, customer or account?

Is it userName, user_id or GetUserInfo?

Inconsistent naming forces readers to constantly translate terms in their head.

That mental friction slows everything down and increases the risk of subtle bugs where different things are assumed to be the same.

Rule of thumb:

One concept - one name.

Next Topic: Premature Optimization

Cookies help us track your progress - nothing extra.