java设计模式的常见问题_java-design-patterns

Design patterns implemented in Java

java-design-patterns.svg?branch=master

license-MIT-blue.svg

Join%20Chat.svg

measure?project=iluwatar_java-design-patterns&metric=alert_status

Introduction

Design patterns are the best formalized practices a programmer can use to

solve common problems when designing an application or system.

Design patterns can speed up the development process by providing tested, proven

development paradigms.

Reusing design patterns help prevent subtle issues that cause major

problems, and it also improves code readability for coders and architects who

are familiar with the patterns.

Getting started

This site showcases Java Design Patterns. The solutions have been developed by

experienced programmers and architects from the open source community. The

patterns can be browsed by their high level descriptions or by looking at their

source code. The source code examples are well commented and can be thought as

programming tutorials how to implement a specific pattern. We use the most

popular battle-proven open source Java technologies.

Before you dive into the material, you should be familiar with various

software design principles.

All designs should be as simple as possible. You should start with KISS, YAGNI,

and Do The Simplest Thing That Could Possibly Work principles. Complexity and

patterns should only be introduced when they are needed for practical

extensibility.

Once you are familiar with these concepts you can start drilling down into

patterns by any of the following approaches

Using difficulty tags, Difficulty-Beginner, Difficulty-Intermediate & Difficulty-Expert.

Using pattern categories, Creational, Behavioral, and others.

Search for a specific pattern. Can't find one? Please report a new pattern here.

Hopefully you find the object oriented solutions presented on this site useful

in your architectures and have as much fun learning them as we had developing them.

How to contribute

If you are willing to contribute to the project you will find the relevant information in

our developer wiki. We will help

you and answer your questions in the Gitter chatroom.

License

This project is licensed under the terms of the MIT license.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值