Echo JS 0.11.0

<~>
jylauril 3545 days ago. link 2 points
Ugh.. separate success and error callbacks in node environment? Hello jQuery generation, welcome to browser development in year 2000.

Why not use Promises (since they're becoming standard anyways) or even the node standard single callback with first argument as error? The callbacks are a hell to maintain already as it is, so why do we have to contribute to it by introducing yet another BAD way to deal with them?

And don't get me wrong, I love the idea of standardizing modules and other common parts of code, but would be awesome if when you create a standardization, you would also use well known standards yourself.

Replies

nbostrom 3544 days ago. link 1 point
I'm thinking that, because every module has the same kind of interface, it would be very easy for you to create a promise adapter that works with all "machines".