Saturday, March 01, 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/

No comments:

I write here about programming, how to program better, things I think are neat and are related to programming. I might write other things at my personal website.

I am happily employed by the excellent Caktus Group, located in beautiful and friendly Carrboro, NC, where I work with Python, Django, and Javascript.