maoruibin / maoruibin/maoruibin.github.com

设计模式之我见

Open
#79 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

article blog 笔记
Dominant language
HTML
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

设计模式核心就是六大原则

  • 单一职责
  • 开放封闭原则
  • 里氏替换
  • 依赖倒置
  • 接口隔离
  • 迪米特法则

所有的设计模式都围绕这六个原则,只要严格按照这六个原则设计出的架构都会是一个不错的架构。

架构

  • 扩展性
  • 稳定性
  • 稳定性

实践依据

封装继承多态

也就是面向对象三要素

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue contains a discussion of design-pattern principles but names no file, test, entry point, or concrete change. First clarify whether it proposes a blog post, an editorial revision, or another change, then define the intended content and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
content
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.