Skip to content

Command Pattern 을 알아보자. #44

@JunsuLime

Description

@JunsuLime

https://ko.wikipedia.org/wiki/%EC%BB%A4%EB%A7%A8%EB%93%9C_%ED%8C%A8%ED%84%B4
https://en.wikipedia.org/wiki/Command_pattern

In object-oriented programming, the command pattern is a behavioral design pattern in which an object is used to encapsulate all information needed to perform an action or trigger an event at a later time. This information includes the method name, the object that owns the method and values for the method parameters.

행위 기반으로 객체를 캡슐화하는 패턴

즉, 행위가 늘어나는 경우에 대해 유효하게 사용할 수 있을 것으로 보인다. (행위 마다 구현체가 늘어나는 형태로 구현 가능)

object is used to encapsulate all information needed to perform an action or trigger an event at a later time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions