File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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 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

Joined: Mar 22, 2005
Posts: 39552
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 - updated with new look and Ping home screen widget
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

Joined: Sep 29, 2008
Posts: 12617

Except that other languages have different design patterns. There's no fixed number of design patterns.
It is sorta covered in the JavaRanch Style Guide.
subject: how many design patterns are there?
Similar Threads
client id for Remote Connection
can we send the control from finally to try?
BigDecimal: divide round help
when 400 mark will reach?