Message Systems in Programming: Callbacks, Events, Pub Sub, Promises, and Streams

added by JavaScript Kicks
10/27/2014 8:01:51 PM


Messaging systems are used to communicate in larger code bases by helping decouple classes that need to know about changes or happenings in certain areas of the code . One of Object Oriented Programming‘s core concepts is encapsulation. How you decide to allow objects to talk to each other has pro’s and con’s for each method and it’s good to know your options as you can use many together in effective hybrid approaches.