Java Design Patterns

Design pattern summary

Object-oriented is a development-oriented system that takes various measures to prevent the occurrence of bugs that are difficult to track during system development, maintenance, and expansion.

The java design pattern aims to create a system that is easy to extend and maintain by increasing the reusability of classes.

Below is the unfinished Menu

Menu Iterator Adapter Template Method Factory Method Singleton Prototype Builder Abstract Factory Bridge Strategy Composite Decorator Visitor Chain of Responsibility Facade Mediator Observer Memento *State Flyweight Proxy Command *Interpreter

Object-oriented tips

Dilute the dependencies between objects

・ Be aware of abstract classes and interface programming ・ Expand the class that works correctly without modifying it. ・ Be aware of The Liskov Substitution Principle (LSP) Use Super class type variables to handle subclasses collectively Be aware if you want to use instanceof (Can you do it with Lsp instead of instanceof?)

Recommended Posts

Java Design Patterns
[Java] Summary of design patterns
Various design patterns
Java design pattern
Introduction to design patterns (introduction)
Study GoF design patterns
Java design pattern summary
Introduction to Design Patterns (Builder)
Read design patterns in Ruby
Introduction to Design Patterns (Composite)
[Design pattern] Java core library
Introduction to design patterns (Flyweight)
Java
Introduction to design patterns Prototype
Introduction to Design Patterns (Iterator)
Java
Why design patterns are needed
Introduction to Design Patterns (Strategy)
Rethinking design patterns with Java8 lambda expressions & Stream --Builder pattern -
Introduction to Design Patterns (Factory Method)
Introduction to Design Patterns (Abstract Factory)
Java beginner design pattern (Factory Method pattern)
Important design patterns to improve maintainability
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 10)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 7)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 3)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 9)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 6)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 4)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 5)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 2)
Design patterns to enjoy with frequently used Java libraries --Factory pattern
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 1)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 11)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 12)
Summary of "Design Patterns Learned in Java Language (Multithread Edition)" (Part 8)
Java learning (0)
Studying Java ―― 3
Java protected
[Java] Annotation
[Java] Module
Java array
Studying Java ―― 9
Java scratch scratch
Java tips, tips
Java methods
Java method
java (constructor)
Java array
[Java] ArrayDeque
java (override)
Java Day 2018
Java string
java (array)
Java static
Java serialization
java beginner 4
JAVA paid
Studying Java ―― 4
Java (set)
java shellsort