BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Appian Exam ACD101 Topic 2 Question 19 Discussion

Actual exam question for Appian's ACD101 exam
Question #: 19
Topic #: 2
[All ACD101 Questions]

You are using a local variable in an expression rule to describe the height of an applicant.

Which statement correctly describes the application of Appian best practices for naming your local variable?

Show Suggested Answer Hide Answer
Suggested Answer: B

The best practice for naming variables in Appian is to use clear and descriptive names that convey the purpose or content of the variable. Therefore, local!applicantHeight is the best option as it precisely describes the value contained by the variable, which is the height of an applicant. This naming convention aids in readability and maintainability of the code, making it easier for developers to understand and modify the code in the future. Reference: Appian Best Practices - Expression Writing and Naming Conventions


Contribute your Thoughts:

Mike
2 months ago
I think option C is also a valid choice, as it follows a common naming convention for variables.
upvoted 0 times
...
Carissa
2 months ago
But using abbreviations can make the code less readable for other developers.
upvoted 0 times
...
Twila
2 months ago
Appian devs who use 'local!x' must also prefer their variable names to be as mysterious as their codebase. Just sayin'.
upvoted 0 times
Ora
21 days ago
Yeah, I prefer shorter variable names to save time when coding.
upvoted 0 times
...
Taryn
30 days ago
A) local!hoaa - This employs the naming convention of abbreviating 'Height of an applicant' to minimize typing.
upvoted 0 times
...
Francene
1 months ago
I always use descriptive variable names to make my code more readable.
upvoted 0 times
...
Olive
1 months ago
B) local!applicantHeight - This employs the naming convention of specifically describing the value contained by the variable.
upvoted 0 times
...
...
Olene
2 months ago
I'm with Dallas on this one. 'local!x' is the coding equivalent of shrugging your shoulders. Let's be better than that.
upvoted 0 times
Tamra
2 months ago
B) local!applicantHeight - This employs the naming convention of specifically describing the value contained by the variable.
upvoted 0 times
...
Shawnta
2 months ago
A) local!hoaa - This employs the naming convention of abbreviating 'Height of an applicant' to minimize both the typing required by developers and the length of code Appian is required to parse.
upvoted 0 times
...
...
Howard
2 months ago
I disagree, I believe option A is more efficient in terms of typing and code length.
upvoted 0 times
...
Carissa
2 months ago
I think option B is the best choice because it clearly describes the variable.
upvoted 0 times
...
Dallas
3 months ago
Using 'local!x' just feels lazy. Might as well call it 'local!whatevs' while we're at it.
upvoted 0 times
...
Darci
3 months ago
Definitely 'local!applicantHeight'. Keeping variable names explicit and meaningful is a no-brainer for Appian best practices.
upvoted 0 times
Chantay
2 months ago
'local!x' might be confusing for future developers, 'local!applicantHeight' is much clearer.
upvoted 0 times
...
Rebbecca
2 months ago
I think 'local!hoaa' is too vague, we should stick with 'local!applicantHeight'.
upvoted 0 times
...
Venita
2 months ago
I agree, 'local!applicantHeight' is definitely the best choice.
upvoted 0 times
...
...
Gilbert
3 months ago
Hmm, 'local!hoaa' seems a bit too cryptic. I prefer 'local!applicantHeight' - it's clear and descriptive.
upvoted 0 times
Brunilda
2 months ago
Yeah, 'local!hoaa' is too cryptic, 'local!applicantHeight' is much better.
upvoted 0 times
...
Lon
2 months ago
I prefer 'local!applicantHeight' as well, it's easier to understand.
upvoted 0 times
...
Hyman
3 months ago
I agree, 'local!applicantHeight' is clear and descriptive.
upvoted 0 times
...
Lavonda
3 months ago
I think 'local!applicantHeight' is the best choice.
upvoted 0 times
...
...

Save Cancel