wood burning stoves*
The moose likes OO, Patterns, UML and Refactoring and the fly likes how many design patterns are there? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "how many design patterns are there?" Watch "how many design patterns are there?" New topic
Author

how many design patterns are there?

anarkali perera
Ranch Hand

Joined: Sep 10, 2009
Posts: 237
I read head first design pattern.But there are only 15 of them.is it only 15 ?
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
No there are 23 design patterns (GoF).


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41600
    
  55
I just thought of another one - so there are at least 16 :-) But seriously, there is no fixed number of patterns. If you can think of another one, describe it, and give it a name, then there's one more. Of course, people will not necessarily know about it unless it's widely publicized. Best known are the ones described in the book "Design Patterns: Elements of Reusable Object-Oriented Software" by Gamma et al.


Ping & DNS - my free Android networking tools app
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Actually when talking about patterns there are so many patterns other than design patterns like analysis patterns [Fowler], implementation patterns [Beck], architectural patterns, domain patterns [DDD], security patterns, enterprise integration patterns [Hohpe, Woolf].

Regarding design patterns, there are also domain specific design patterns like Core J2EE Patterns, SOA Design Patterns. However if mention only "design patterns" it probably means GoF's design patterns as the Design Patterns is the first book that documents software design patterns.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Except that other languages have different design patterns. There's no fixed number of design patterns.
 
jQuery in Action, 2nd edition
 
subject: how many design patterns are there?