Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Consistency is one key piece that helps make code readable. Unfortunately, even

ID: 3849422 • Letter: C

Question

Consistency is one key piece that helps make code readable. Unfortunately, even though you can get programmers to agree up front on a particular style, you will find it doesn't last. Most programs hang around for years with people changing jobs and programs they maintain. Therefore, you tend to get different hands into the pot. Not everyone uses the same style. Where I work, we adhere to a programming standard that requires us to stay with the original author's style unless we rewrite the file completely. One of the things that makes code readable is the format of variable names. One format used is Hungarian notation (e.g., m_pExample, g_pExample). Bjarne Stroustrup has his own view on that topic and other naming conventions: http://www.stroustrup.com/bs_faq2.html#Hungarian . Does anyone in class agree with the man who designed C++? If not, why would your opinion differ? Any comments on his preferences for naming conventions?

Explanation / Answer

Hence, this is my opinion on the usage of the naming conventions as per the creator of c++ Bjarne Stroustrup.

Comments On The Preference of Naming Conventions:

Thus, this is all of the comments on the preferences of the naming conventions in c++ and how to use them wisely enough to make your program consistent, robust and reliable.

Please rate the answer if it helped...Thankyou

Hope it helps....