Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 2
    RE: "multiple ways of doing the same thing" - That seems to conflict with some of the common examples of Strategy. Specifically the ones where there are implementation classes that do addition, subtraction, multiplication, etc. Maybe those are not good examples? Commented Jul 18, 2011 at 16:45
  • 1
    @JoshuaDavis all these "substratagies" are special cases of one strategy: arithmetical operation. they have common arguments (2 operands) and produce one value as result. pretty much doing the same (being blackboxes) thing their own different way, depending on implementation. so i see no conflict here, but, quite the opposite: nice example =) Commented Mar 1, 2016 at 0:09