Which of the following statements about a healthy codebase is TRUE?
Choose an answer
Tap an option to check your answer.
Correct answer: Reducing instances of repeated code helps to keep your codebase tidy and bug free..
Why this is the answer
The correct statement is that reducing repeated code helps keep your codebase tidy and bug-free. This aligns with the "Don't Repeat Yourself" (DRY) principle, a core tenet of good software development. When code is repeated, any bug found in one instance must be fixed in all instances, increasing the chance of errors and making maintenance difficult. Abstracting and reusing code (e.g., through functions, modules, or components) makes the codebase more maintainable, easier to update, and less prone to bugs, even if it requires a slightly higher initial learning curve for novice developers. The other options are incorrect: repeating code is generally discouraged, HubSpot CMS pricing is not based on file size, and DRY stands for "Don't Repeat Yourself," emphasizing maintainability over rushed completion.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed