Blog

Naming Connventions

Dec 13, 2012 Blogs | Coding Best Practices
What are naming conventions and what are their importance

What is Naming Convention?

Naming convention is something which answers a question “How to name an element.” 
In programming, it can be defined as set of rules which tells how a identifier will be named, like

  • What all characters are permissible?
  • How it should be formatted or organized?
    And so on...

When it comes to naming, it's a quite contentious topic.

Why Naming Convention is required?

Try to read the following word.
         gradeofamericancustomer.
It's challenging to read it in a single glance.
Now try to read this one
         GradeOfAmericanCustomer

The answer is

  • Respectable programming is that where code is healthy written, which can be easily read and apprehend. 
    And for readability naming convention is must. No one can read my name if I write like “sukeshmarla”, but can if it's like “Sukesh Marla”.
  • When we talk about a project, we have a team. And it will be a very difficult when every programmer in a team use his own way or standard for defining variables. Difficulties in both management and understanding. It becomes even more difficult when a team member resigns and new guys take handover 
    So why every company defines centralized Naming Conventions and brings consistency.
  • Readability and consistency reduced effort needed to read and understand the code (especially written by other developers).
  • A proper naming convention with modern enhanced Intellisense feature drastically improves the development speed.
For more about naming convention click here

For training related to design patterns,C#,jQuery and other .net related topics contact SukeshMarla@Gmail.com
Sukesh Marla

I am asp.net developer with over 4 years experience,Proficient in Object Oriented Programming and jQuery.Achievements - MCPD with asp.net 3.5 and MCTS with SQL Server 2008.Hobbies - Blogging (www.suke...

Personal Blog: http://sukesh-marla.com
  • 72rank
  • 585K readers
  • 1times
COMMENT USING

PREMIUM SPONSORS

Hire Mobile & Web Developer on demand. 100% satisfaction. Try for 1 week or Money Back. Local and remote developers available all over USA.

Latest Blogs