Strategy Design Pattern

Suppose you work for a company that makes a highly successful duck pond simulation game, SimUDuck. The game can show a large variety of duck species swimming and making quacking sounds. The initial designers of the system used standard OO techniques and created one Duck superclass from which all other duck types inherit. Okumaya devam et “Strategy Design Pattern”


Singleton Design Pattern

This pattern is all about of creating one and only one instance of an object. Yes it sounds it is simple but once you are doing it wrong you will see some surprises with your programs outputs and would hardly know what is going wrong. Okumaya devam et “Singleton Design Pattern”