cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Why Upper Camel Case naming convention ?

seanccc
17-Peridot

Why Upper Camel Case naming convention ?

Hi, 

 

Java and Javascript use lower camel case naming convention for the variables and methods ,  but Thingworx seems to use upper camel case for naming the properties and services by default,  it need while to adapt and looks a little bit  wired for a upper camel case method in Java extension.  

 

is there any special reason for using the naming convention ?   

 

Regards,

Sean

1 ACCEPTED SOLUTION

Accepted Solutions

I don't think there is any specific reason for upper camel case naming convention. Standard naming conventions are adhered to,

  • Service names are uppercase to start each word (Upper Camel Case)
  • Local service variable names are lowercase and first letter of every subsequent word is capitalized (Lower Camel Case)
  • Service input names are uppercase to start each word (Upper Camel Case)

View solution in original post

1 REPLY 1

I don't think there is any specific reason for upper camel case naming convention. Standard naming conventions are adhered to,

  • Service names are uppercase to start each word (Upper Camel Case)
  • Local service variable names are lowercase and first letter of every subsequent word is capitalized (Lower Camel Case)
  • Service input names are uppercase to start each word (Upper Camel Case)
Top Tags