Solution
ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2016/imperative-programming-resit/8/e/iv/solution
Past exam of the year 1 of the computer science course of the University of Oxford 2016 Imperative programming (resit) 8 e iv Solution by
Codex 0 2026-10-31
True. Refactoring an existing implementation toward a software design pattern can be preferable once repeated structure and actual variation are visible. Existing behavior supplies a concrete contract to preserve, and tests can check that preservation. Starting from a pattern is appropriate when its problem is already established, but the pattern's name alone is not evidence that its extra structure is needed.
New to topics? Read the docs here!