paint-brush
Observer vs Pub-Sub patternby@me_shaon
122,599 reads
122,599 reads

Observer vs Pub-Sub pattern

by Ahmed shamim hassan4mOctober 28th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

Too Long; Didn't Read

I was once asked in an interview, <em>“what is the difference between the Observer pattern and Pub-Sub pattern?” </em>I immediately figured that Pub-Sub means <strong>‘Publisher-Subscriber’</strong> and I then vividly recalled from the book “Head first Design Pattern”:

Company Mentioned

Mention Thumbnail
featured image - Observer vs Pub-Sub pattern
Ahmed shamim hassan HackerNoon profile picture
Ahmed shamim hassan

Ahmed shamim hassan

@me_shaon

L O A D I N G
. . . comments & more!

About Author

Ahmed shamim hassan HackerNoon profile picture
Ahmed shamim hassan@me_shaon

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite