Question
What deeper point about Shallow vs Deep Copy should a senior Python developer mention?
- At senior level, the right answer is that Shallow vs Deep Copy exists mostly for historical syntax reasons.
- At senior level, Python removes the tradeoffs around Shallow vs Deep Copy, so design choices barely matter in practice.
- At senior level, any approach to Shallow vs Deep Copy is equally correct if it passes one small local test.
- Senior answers mention structural sharing, cost, and why selective rebuilding is often better than blind deep-copying.
Hint
Look beyond syntax and explain the runtime, API, or design consequence.
Answer and rationale
Correct answer: D. Senior answers mention structural sharing, cost, and why selective rebuilding is often better than blind deep-copying.
Senior answers mention structural sharing, cost, and why selective rebuilding is often better than blind deep-copying. This is the kind of tradeoff-aware answer senior interviews usually expect.
Track: Python