While reading about different Javascript frameworks and utilities, I kept running across a design patter or technique called ‘promises’. It seems every shiny new Javascript thing utilizes them in some way or another. At first the concept seemed difficult to wrap my head around but eventually it clicked. It isn’t really as difficult as I thought. Javascript as well as other modern languages uses a what are called callback functions. These are functions passed as arguments to other functions and are used to do something with the data that the top level function returns.…
Read more »