JavaScript Promises Explained By Gambling At A Casino

Promises might seem confusing… until you find yourself in “callback hell.” Then they seem reasonable! We all love the asynchronous capabilities of JavaScript. In fact, we love them so much that sometimes, we overindulge. And then we get code that looks like this “pyramid of doom”, at which you’ll want to respond by throwing a… Continue reading JavaScript Promises Explained By Gambling At A Casino

Model-View-Controller (MVC) Explained Through Ordering Drinks At The Bar

If you have been to a bar, then MVC ain’t that hard. Model-view-controller (MVC) frameworks are a crucial part of building modern web applications. Walk into a room of web developers, and you will likely be bombarded with mentions of Ruby on Rails, Angular or Django. More generally, MVC logic can be used to describe almost… Continue reading Model-View-Controller (MVC) Explained Through Ordering Drinks At The Bar