This is good advice. You do lose the transparency of the approach in this case, but you are otherwise stuck in a higher-order form of callback hell if you don't.
Though one wonders if they could get rid of even this if they just had some dynamic scoping.
Comments
This is good advice. You do lose the transparency of the approach in this case, but you are otherwise stuck in a higher-order form of callback hell if you don't.
Though one wonders if they could get rid of even this if they just had some dynamic scoping.