Observer Pattern Explained

The observer pattern implements a publish subscribe model. When a publisher class notices something has changed, it notifies all the subscribers registered for the change. Each subscriber can then take the appropriate action. Subscribers should also be able to register and unregister at run time. In the observer pattern, publishers are know as subjects and subscribers as observers. We will follow a simple example of the observer pattern implemented in Java.

read more

5802183374

The use of inheritance is often abused resulting in code that is difficult to maintain or understand. The strategy pattern favors composition over inheritance, which fosters a design that is maintainable, extendable, flexible and elegant. This article discusses the basics of the strategy pattern along with examples. The goal is to recognize situations where this pattern can be used to improve overall code quality.

dichloramine-t

Git is a distributed revision control and source code management (SCM) system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows.

(780) 831-1858

Git Command Cheat Sheet

Git is a distributed revision control and source code management (SCM) system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows. The following is a quick cheat-sheet of commands.

read more