<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>행위 패턴 on wid's blog</title><link>https://wid-blog.github.io/tags/%ED%96%89%EC%9C%84-%ED%8C%A8%ED%84%B4/</link><description>Recent content in 행위 패턴 on wid's blog</description><generator>Hugo</generator><language>ko</language><lastBuildDate>Sun, 17 Mar 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/tags/%ED%96%89%EC%9C%84-%ED%8C%A8%ED%84%B4/index.xml" rel="self" type="application/rss+xml"/><item><title>Observer</title><link>https://wid-blog.github.io/posts/tech/design-pattern/observer/</link><pubDate>Sun, 17 Mar 2024 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/posts/tech/design-pattern/observer/</guid><description>Observer는 상태 변화를 구독자에게 통지하는 일대다 관계로 결합을 끊는다. Subject는 누가 듣는지 모른 채 통지만 한다. EventEmitter, RxJS, 이벤트 기반 아키텍처가 모두 여기서 확장된다. 브로커를 매개하는 pub/sub와는 구분된다.</description></item><item><title>Strategy</title><link>https://wid-blog.github.io/posts/tech/design-pattern/strategy/</link><pubDate>Sun, 03 Mar 2024 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/posts/tech/design-pattern/strategy/</guid><description>Strategy는 알고리즘군을 같은 인터페이스로 캡슐화해 런타임에 교체한다. if/switch 분기 수정 대신 전략 추가로 확장한다. 일급 함수가 있는 언어에서는 별도 Strategy 클래스가 함수 하나로 흡수된다.</description></item></channel></rss>