Functions · interview question
Which boundary choice best fits batch helpers in a maintainable Python system?
Multiple choiceHardchapter-2-curatedpremiumfunctionsbatch-helpers
Answer and explanation
Correct answer
B. Keep the concern close to the data or API boundary that owns it instead of scattering it across unrelated helpers.
Why
Responsibility should follow ownership. When the concern lives near the right boundary, the system is easier to test and explain.
Test yourself on Functions
A free test with instant, explained results. No account needed.
More Functions questions
- Which judgment is strongest when choosing a data shape for batch helpers?
- What is the healthiest performance judgment around batch helpers?
- Which move is the best default when batch helpers becomes part of this workflow?
- Which explanation would sound strongest in an interview when discussing batch helpers?
- A teammate submits shaky batch helpers code. Which review comment is the strongest?
- Which option describes the most likely pitfall around batch helpers?