Question

In: Computer Science

Discuss why naming conventions are important and why as a programmer you should consistently follow them....

Discuss why naming conventions are important and why as a programmer you should consistently follow them. Include in this discussion, problems that could arise in naming variables if one convention is NOT followed.

Solutions

Expert Solution

Why naming conventions are important and why as a programmer you should consistently follow them?

  Naming conventions make code clearer ,simple and easy to understand.It also add metadata that help in understanding each component's purpose.Naming conventions should be easy and simple  use and remember.It reduce burden on devlopers.

Naming conventions may seem less important than logic, but if code become hard to understand it become more difficult to create, debug, and maintain. Good naming conventions help programmers to work on each others code.It also help devlopers to understand their own code in case of complex programs over long periods of time.It also reduce time wasted reinterpreting same information multiple times.

Problems that could arise in naming variables if one convention is NOT followed.

1.Increase development time:-If proper naming conventions is not followed a devlopers will spend most of his energy on remember to name but not how to solve the problem.

2.Make the project structure more complex:-Using bad Naming conventions may result in complex project structure that will produce problems in the devlopment of the project.

3.Turn down engineer motivation:-Humans are good to maintain one standard at a time. If there exist different naming styles in the project, it distribute engineer concentration. So engineer doesn’t want to work on project which is hard to understand the code.


Related Solutions

Why are naming conventions important in designing a database?
Why are naming conventions important in designing a database?
Please Use the ECLIPSE AND FOLLOW THESE RULES Apply the naming conventions for variables, methods, classes,...
Please Use the ECLIPSE AND FOLLOW THESE RULES Apply the naming conventions for variables, methods, classes, and packages: - variable names start with a lowercase character - classes start with an uppercase character - packages use only lowercase characters methods start with a lowercase character question1: Design a Lotto class with one array instance variable to hold three random integer values (from 1 to 9). Include a constructor that randomly populates the array for a lotto object. Also, include a...
PLEASE Use the ECLIPSE... AND FOLLOW THIS RULES.. Apply the naming conventions for variables, methods, classes,...
PLEASE Use the ECLIPSE... AND FOLLOW THIS RULES.. Apply the naming conventions for variables, methods, classes, and packages: - variable names start with a lowercase character - classes start with an uppercase character - packages use only lowercase characters methods start with a lowercase character Write a Java application that simulates a test. The test contains at least five questions about first three lectures of this course. Each question should be a multiple-choice question with 4 options. Design a Test...
Please focus on Nurse Practitioners 1. Discuss the controversy surrounding the naming conventions for APRNs (example...
Please focus on Nurse Practitioners 1. Discuss the controversy surrounding the naming conventions for APRNs (example DNP prepared nurse practitioners using the title "doctor")
Why is the concept of organizational ethics important to health care organizations? Who should set them?...
Why is the concept of organizational ethics important to health care organizations? Who should set them? What’s your experience with organizational ethics? Do you think a solid mission statement will help guide employees to act ethically? Does your organization have a mission statement and do you know it?
Why is marketing important to society? Why should you study marketing?
Why is marketing important to society? Why should you study marketing?
Describe, discuss, and give examples of transition management, why it is important, and when should it...
Describe, discuss, and give examples of transition management, why it is important, and when should it begin.
Why is the timing of Dividends not as important as paying them?
Why is the timing of Dividends not as important as paying them?
Pretend you work as a computer programmer. Write a memo to your department convincing them to...
Pretend you work as a computer programmer. Write a memo to your department convincing them to donate to a non-profit of your choosing. Include all details for donation (think Who, What, When Where Why, How). Include the following sections: Header (company letterhead, to, from, date, subject,), Salutation, Opening paragraph, middle paragraph(s), closing paragraph, complimentary closing, and signature. Paraphrase information about the nonprofit in your middle paragraphs, and cite this info in APA formatting. 2 pages max. U.5
Why is it important to follow the order of elution solvents for the separation of the...
Why is it important to follow the order of elution solvents for the separation of the pigments found in spinach by column chromatography? Why is the first elution solvent hexanes followed by 70:30 Hexane:Acetone?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT