Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The suggested name of a new property should not be capitalized #152

Open
roddolf opened this issue Oct 2, 2018 · 2 comments
Open

The suggested name of a new property should not be capitalized #152

roddolf opened this issue Oct 2, 2018 · 2 comments

Comments

@roddolf
Copy link
Collaborator

roddolf commented Oct 2, 2018

The suggested name of a new property is New_Property_1, but since the convention is that properties' names are down case, this suggestion should change to new_Property_1.

Also, which is prefered?

  • The current underscore: new_Property_1
  • Camel case: newProperty1
@AlexSerrano22
Copy link
Contributor

@mhernandeza do you know what is the convention that the platform follow for this case?

@mhernandeza
Copy link
Contributor

The convention currently used in the platform's vocabulary is as follows:

  • Camel case is used for class and property names.
  • Properties follow the lower camel case convention, where the first word is not capitalized e.g. propertyName.
  • Classes follow the upper camel case convention, where the first word is capitalized e.g. ClassName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants