ibrahim karayel
Sep 9, 2018 · 1 min read

Baslik “Factory Method Pattern” olursa daha dogru olur. GOF’a gore Factory pattern : creates objects without exposing the instantiation logic to the client.
Factory Method Pattern: Defines an interface for creating objects, but let subclasses to decide which class to instantiate
Ornekte de anlasilacagi uzere baslik Factory Method Pattern olmali. Buna benzer bir kac tane daha Turkce yazi okudum malesef digerlerinde de benzer sekilde.