Callbacks are a way be notified of an event and notÂ have to care if it’s synchronous or asynchronous. This could happen immediately or some time later. It’s the “don’t call me, I’ll call you” of programming. It also gives the receiver the power to dictate where they message goes and usually in what scope. In languages that do not natively support blocking, asynchronous programming needs some mechanism to tell you when “things are done”.
Continue reading “Message Systems in Programming: Part 2 of 7 – Callbacks”
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.
Continue reading “Message Systems in Programming: Part 1 of 7 – Introduction”
Download the Node, Bower, Grunt Cheat Sheet
Continue reading “Node, Bower, Grunt n00b Cheat Sheet”