# learn-design-pattern **Repository Path**: guoxinyu22163/learn-design-pattern ## Basic Information - **Project Name**: learn-design-pattern - **Description**: Java设计模式 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-10-19 - **Last Updated**: 2023-10-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: 设计模式, design-pattern, Java ## README # learn-design-pattern ### Design Principle 1. Identify the aspects of your application that vary and separate them from what stays the same. 2. Program to an interface, not an implementation. 3. Favor composition over inheritance. 4. Classes should be open for extension, but closed for modification. 5. The Dependency Inversion Principle: Depend upon abstractions. Do not depend upon concrete classes. 6. Principle of Least Knowledge: talk only to your immediate friends