Question

2
Replies
2212
Views
PravinM Member since 2018 40 posts
Hoverstate
Posted: August 30, 2018
Last activity: September 2, 2018
Closed

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.

https://community.pega.com/knowledgebase/articles/naming-standards-case-lifecycle-management-components-and-records-classes#classes

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://community1.pega.com/community/product-support/question/limitation-class-names-length

Let me know your thought on this.

Low-Code App Development Case Management
Moderation Team has archived post
Share this page LinkedIn