Java Design Patterns

Source: Internet
Author: User
What is design mode Gang of Four (GOF)?

In 1994, four authors:Erich Gamma,Richard Helm,Ralph Johnson and John vlissides published a book entitled Design Patterns- Reusable object-oriented software elements, a book that pioneered the concept of design patterns in software development.

These authors are collectively referred to as Gang of Four (GOF). According to these authors, design patterns are based primarily on the following principles of object-oriented design:

  • The program to an interface is not implemented.

  • Facilitates the combination of inherited objects.

Use of design Patterns

Design patterns have two main uses in software development.

Common Platform for Developers

Design patterns provide standard terminology and are specific to applying a folded scene. For example, a singleton design pattern represents the use of a single object, so all developers who are familiar with a single design pattern will use a single object, and they can tell the other program is following a singleton pattern.

Best practices

Click the link to see more

Java Design Patterns

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.