---
answer: direct
beat: dev-practices
source: 1 article · updated: May 23, 2026
---

Should you mix naming conventions in one codebase?

No. Mixing camelCase and snake_case in the same codebase increases cognitive load and causes real bugs, such as mismatched keys between APIs and databases. Pick the convention native to your language, document it, and enforce it automatically with tools like ESLint or Prettier.

Answered in

Programming Naming Conventions Explained: camelCase, PascalCase, snake_case & More

Learn the difference between camelCase, PascalCase, snake_case, kebab-case and UPPER_SNAKE_CASE — which languages use which, and how to name things cleanly.

Crashtech Editorial May 23, 2026 Development Best Practices

Read the full analysis

Other questions this article answers

More development best practices questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the Development Best Practices beat.