Developing Applications Using Cisco Core Platforms and APIs (DEVCOR) — Question 387
A large application with several smaller components must be designed and developed. Several developers must work on the code simultaneously. Which action reduces the complexity of the project and ensures that the code is easy to maintain?
Answer options
- A. Avoid obfuscation to reduce complexity at the cost of security.
- B. Create a detailed technical design document.
- C. Break the code down into small reusable code blocks or modules.
- D. Add as many comments to the code as possible.
Correct answer: C
Explanation
Breaking the code into small reusable modules or blocks (option C) enhances maintainability and reduces complexity by allowing developers to work on individual parts independently. While a technical design document (option B) is helpful, it does not directly simplify the code structure. Avoiding obfuscation (option A) and adding comments (option D) can improve readability, but they do not address the fundamental complexity of the code itself.