From a pedagogical point of view, I dislike this example, because it might cause confusion between…
Thomas Andrews
1

Re-thinking this example, I think you’re right. The example provided can cause confusion between strategies and simple dependency injection, which is much broader. I’ll update the example.