---
title: "Why should we have to use a naming convention and what are its advantages?"  
description: "Why should we have to use a naming convention and what are its advantages?"  
author: "Anonymous User"  
published: 2019-12-10  
updated: 2019-12-10  
canonical: https://www.mindstick.com/forum/145554/why-should-we-have-to-use-a-naming-convention-and-what-are-its-advantages  
category: "c#"  
tags: ["c#", "programming language", "naming convention"]  
reading_time: 1 minute  

---

# Why should we have to use a naming convention and what are its advantages?

"These are only two hard things in [Computer Science](https://answers.mindstick.com/qa/112634/what-are-the-benefits-of-teaching-coding-and-computer-science-in-schools): [cache invalidation](https://www.mindstick.com/forum/158465/what-are-the-best-practices-for-cache-management-and-cache-invalidation) and [naming](https://www.mindstick.com/articles/208862/4-things-to-remember-in-naming-your-child) things."

## Replies

### Reply by Nishi Tiwari

We should use naming convention in order to **reduce the effort needed to read and [understand the source code](https://www.mindstick.com/forum/145555/what-are-some-common-naming-conventions-used-in-programming)**. If we don’t use it while writing source code then it will lead to **confusion, error and loss of time and cost**. Naming convention helps to understand the code easily that is “what the code is about”.

#### Advantages

- It enhance the readability, understandability and clarity of code.
- It helps in avoiding naming collision.
- Maintains the consistency of code.

##### Example

- **gradeofstudent**
- **GradeOfStudent**

In above case, first case is difficult to read than second case where we read and understand easily what it is about.

So, naming convention is required to reduce the effort needed to read and understand the source code.


---

Original Source: https://www.mindstick.com/forum/145554/why-should-we-have-to-use-a-naming-convention-and-what-are-its-advantages

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
