Factory oder Strategy Pattern?

1 gute Zusammenfassung:

Just to add to what tvanfosson said, a lot of the patterns look the same as far as implementation. That is, a lot have you create an interface where perhaps there wasn’t one before in your code, and then create a bunch of implementations of that interface. The difference is in their purpose and how they are used.

What’s the difference?

Leave a Reply

Your email address will not be published.