Skip to content
Sharp

Control Flow · interview question

What is the clearest sign that code around branching policies should be refactored?

Multiple choiceEasychapter-2-curatedpremiumcontrol-flowbranching-policies
Choose one answer
Answer and explanation

Correct answer

A. When the rule is no longer easy to trace, explain, or change without breaking nearby behavior.

Why

A refactor is justified when the code stops communicating its intent. Order branches by business meaning so the blocking or highest-priority cases are handled first.

Test yourself on Control Flow

A free test with instant, explained results. No account needed.

Start free test
All Control Flow questions →