Question
CNO
US
Last activity: 2 Sep 2018 1:49 EDT
Naming conventions for classes
What is the best practice for naming classes? I got confused with not to use anacronyms and abbreviations, as mentioned in the below post.
What is the best practice for naming classes? I got confused with not to use anacronyms and abbreviations, as mentioned in the below post.
Naming conventions for classes
Follow these guidelines when naming classes:
- Use a noun for a class name (such as Customer or Address). Use mixed case with the first letter of each word capitalized.
- Make class names simple and descriptive.
- Use whole words. Avoid acronyms and abbreviations (unless the abbreviation is much more widely used than the long form, such as URL or HTML).
I think it will create a problem mentioned in the below post.
https://collaborate.pega.com/question/limitation-class-names-length
Let me know your thought on this.