class MyCPPProgram {};
The class name, MyCPPProgram, is correct and fine except that it can be more readable if we declared the class like this:
class MyCppProgram {};
I find the 2nd one more readable than the 1st one. We can also see a similar naming pattern in Java. For example the HttpServlet class. It's not HTTPServlet.
3 comments:
don't be a slave to a convention
this issue is readability for humans
class MyCPPprogram {};
allows acronym but reader can see the word break
of course My CPP program is a horrid example
HTTPservlet is a better example - Sun obviously doesn't like caps
abbreviations aren't acronyms and should follow the usual camelCase
i love to chat with slangs but i want to know that what exactly hmu mean online. If anybody know please reply.
Check out HMU Meaning here:
http://www.webacronym.com/slang-definition/hmu/
Post a Comment