Coding Standards/conventions Question:
Download Job Interview Questions and Answers PDF
Explain Naming Convention Constants?
Answer:
Description
Constants are “variables” that cannot be changed within a function- or script-body. The value will always be the same during script-execution.
Syntax
"AX_" + [PURPOSE] + {OPTIONAL}
If the constant name consists of more than one word those will be separated using an underscore.
Examples
· AX_AUT_VERSION
· AX_DEFAULT_URL
Constants are “variables” that cannot be changed within a function- or script-body. The value will always be the same during script-execution.
Syntax
"AX_" + [PURPOSE] + {OPTIONAL}
If the constant name consists of more than one word those will be separated using an underscore.
Examples
· AX_AUT_VERSION
· AX_DEFAULT_URL
Download Coding Standards Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain Naming Convention Globals? | Explain Naming Convention Functions? |