Q: Which of the following actions isn't a best practice to consider when coding?
-
A
Comment code to communicate with other developers
-
B
Use a naming standard for an organization
-
C
Limit code comments to shorten text strings
-
D
Each element should have a label assigned in the Properties window
C
Answer:
C
Explanation:
- A. Commenting code to communicate with other developers is considered a best practice to show others the purpose of code.
- B. Using a naming standard for an organization is considered a best practice.
- C. Limiting code comments to shorten text strings isn't a best practice because comments should be used liberally.
- D. Each element having a label assigned in the Properties window is a best practice because labels are necessary for the user interface.
Related Topic:
Share Above MCQ