Live data from Hacker News

Show HN: Pocketsquare – portfolios for developers

pocketsquare.io

51–53 of 53 posts

Re: Show HN: Pocketsquare – portfolios for developers

#51
post #30

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.

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.

Re: Show HN: Pocketsquare – portfolios for developers

#52
post #30

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

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?

[deleted]

Re: Show HN: Pocketsquare – portfolios for developers

#53
post #51

Earlier 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.

I wasn't criticising you for sharing that link - just that the content of the link itself was, really, not the best (no doubt written with good intentions, though, I'm sure). I also think snippets of code are somewhat worthless, unless perhaps they're clever solutions to specific problems that really can be expressed in a dozen LoC. My GitHub gists, for example, are for the most part useless to anyone other than myself, and I wouldn't ever really think to share them as any kind of insight into my work.
Post reply on HN