Factory Pattern neden?

Factory Design Pattern , nesne yaratma işlemi için bir arayüz tasarlanmasını gerektirir ve alt sınıfların nesne üretmesine olanak sağlar. Ayrıca, hangi sınıf nesnesinin oluşacağını da alt sınıflar kendileri belirler. Böylece nesne yaratma işlemini soyutlaştırır.

Read more

Factory Pattern nedir C#?

Factory Pattern Kısaca tanımı ; aynı abstract sınıf veya interface’den türeyen nesnelerin üretiminden sorumlu yapıdır. Bu pattern ile nesne yaratılma işini inheritance yoluyla client-side’dan ayırıp sub-classes’lara vermek amaçlanır.29 Haz 2017

Read more

Is singleton a good pattern?

The truth is that singletons aren’t inherently bad if they’re used correctly . The goal of the singleton pattern is to ensure only one instance of a class is alive at any one time. That, however, is not the goal many developers have in mind when using singletons.

Read more