Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is Gang of Four design pattern [duplicate]

I have recently come to know that there is a design pattern in Java called Gang of Four (GoF). I'm not able to understand what it is and what's its use. Can anybody make me clear on this? Thanks in advance.

like image 723
harshita Avatar asked Feb 12 '13 11:02

harshita


People also ask

What Gang of Four design pattern is this?

Over 20 years ago the iconic computer science book “Design Patterns: Elements of Reusable Object-Oriented Software” was first published. The four authors of the book: Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, have since been dubbed “The Gang of Four”.

Which statement best describes the Gang of Four design patterns?

Which statements best describe the Gang of Four design patterns called Memento and Observer? Memento notifies multiple classes of changes. Observer captures and restores an object's internal state. Memento defers the exact steps of an algorithm to a subclass.

Which pattern creates duplicates?

Prototype pattern refers to creating duplicate object while keeping performance in mind. This type of design pattern comes under creational pattern as this pattern provides one of the best ways to create an object.

What is Gang of Four GoF in Ooad explain?

In 1994, four authors Erich Gamma, Richard Helm, Ralph Johnson und John Vlissides published a book titled Design Patterns - Elements of Reusable Object-Oriented Software which initiated the concept of Design Pattern in Software development. These authors are collectively known as Gang of Four (GOF).


1 Answers

The authors of the DesignPatternsBook came to be known as the "Gang of Four." The name of the book ("Design Patterns: Elements of Reusable Object-Oriented Software") is too long for e-mail, so "book by the gang of four" became a shorthand name for it.

After all, it isn't the ONLY book on patterns. That got shortened to "GOF book", which is pretty cryptic the first time you hear it.

Source: http://c2.com/cgi/wiki?GangOfFour

like image 119
Azodious Avatar answered Sep 24 '22 15:09

Azodious