Ask Question

Your company has just hired you to increase programmer productivity. You review existing program code and notice that no specific naming convention has been followed. What would you say to explain the best practices regarding naming conventions for class names?

+5
Answers (1)
  1. 10 January, 00:19
    0
    Class Names should follow the Pascal convention where the starting letter should be capital

    Explanation:

    Always use Pascal Case for class names. Try to use noun or noun phrase for class name. Use CamelCase (In this the first letter of word always in small letter and after that each word with capital letter.) for data members (private, public, protected ... instance variables) in the class and use Pascal case for member functions

    Giving Proper class names increase the readability of the code. if one developer wrote the code and other developer needs to work on that code in future, then the program/code should be in such a way that any developer can understand what it is meant for. We can achieve this by following proper naming conventions. it is one of the best practice or coding guidelines that every developer should follow. it will increase productivity and reduces complexity
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Your company has just hired you to increase programmer productivity. You review existing program code and notice that no specific naming ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers