You're making use of the deferred anti-pattern [0] on your own profile page [1]. [0] https://github.com/petkaantonov/bluebird/wiki/Promise-anti-p... [1] https://pocketsquare.io/alanfriedman
Totally irrelevant to the topic at hand, but that first link really is grim reading - a complicated topic treated in a dismissive tone, chock-full of jargon, and probably leaving the average reader feeling slightly abused.
Show HN: Pocketsquare – portfolios for developers
51–53 of 53 posts
Re: Show HN: Pocketsquare – portfolios for developers
#52You're making use of the deferred anti-pattern [0] on your own profile page [1]. [0] https://github.com/petkaantonov/bluebird/wiki/Promise-anti-p... [1] https://pocketsquare.io/alanfriedman
Because "request" returns a promise? I created the deferred object because I'm waiting on multiple async operations (get gravatar url, download gravatar locally and upload to s3). Or am I missing something?
Re: Show HN: Pocketsquare – portfolios for developers
#53Earlier quoted context omitted.
Totally irrelevant to the topic at hand, but that first link really is grim reading - a complicated topic treated in a dismissive tone, chock-full of jargon, and probably leaving the average reader feeling slightly abused.
Not really, it demonstrates that displaying random snippets of code as some kind of portfolio is maybe not a great idea. I didn't think I needed to spell it out.