Skip to content
Sharp

Code Review · interview question

A teammate submits shaky abstraction discipline code. Which review comment is the strongest?

Multiple choiceHardchapter-14-curatedpremiumcode-reviewabstraction-discipline
Choose one answer
Answer and explanation

Correct answer

C. Make the rule clearer and easier to explain. Choose the simplest abstraction that explains the repeated concern and stop there.

Why

The best review comment anchors the change to readability, correctness, and future maintenance. Adding decorators or context managers just because Python can do it is usually a readability regression.

Test yourself on Code Review

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

Start free test
All Code Review questions →