Skip to main content

Posts

Showing posts from March, 2014

Link: Promise Anti-Patterns

Over on Tao of Code, there is a great little write up on Promise anti-patterns. Having been using promises heavily for the past year in my Javascript, I can say I've hit at least half of these and probably the other half without realizing it. I recommend you check it out if you are or soon will be using Promises! Promises are very simple once you get your head around them, but there are a few gotchas that can leave you with your head scratching. Here are a few that got me. Get the full scoop: http://taoofcode.net/promise-anti-patterns/