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

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.
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 the timing of Dividends not as important as paying them?
Why is the timing of Dividends not as important as paying them?
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?
Why do you think it is so important for researchers to follow published standards for research...
Why do you think it is so important for researchers to follow published standards for research design and reporting in epidemiology? Review the hierarchy of scientific evidence. Are there any benefits to making decisions based upon low-quality (e.g. Level III) evidence?
Why is it important to understand and follow netiquette? Can you describe an encounter you've experienced...
Why is it important to understand and follow netiquette? Can you describe an encounter you've experienced where netiquette was not followed? What are some tips you can give, other than the ones included in the reading, that are best practices for online citizenship or netiquette?
Why do you think it is important that there should be a formal code of conduct...
Why do you think it is important that there should be a formal code of conduct guiding accounting behaviour ?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT