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”: