Hacker News new | ask | show | jobs
by mekane8 2218 days ago
"Really?" was my first reaction too. The difference may be a bit subtle but it's quite clear.

I remember when I was learning promises there was lots of talk in the tutorials, etc. about .all() and I eventually had a use case where I wanted to know the statuses of a bunch of calls and didn't really care whether they were failures or not and I found Q.allSettled() which was perfect. Good old Q.

1 comments

Subtle is literally an antonym for obvious. It can't be both.

I think it is a clear, subtle difference, making it easy to miss by mistake and be surprised by it. Lack of ambiguity does not preclude surprise.