You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did this in 016, and @jrhorn424 thinks it (or something similar) maybe should be added to the lesson.
I wrote an IOU ("Yen owes me keys") on a piece of paper. I gave my keys to Yen, and explained that the piece of paper is now the "Promise". I can't drive home until I get my keys back, and getting my keys back can set things in motion. A failure to get my keys will cause a different course of action.
I did this in 016, and @jrhorn424 thinks it (or something similar) maybe should be added to the lesson.
I wrote an IOU ("Yen owes me keys") on a piece of paper. I gave my keys to Yen, and explained that the piece of paper is now the "Promise". I can't drive home until I get my keys back, and getting my keys back can set things in motion. A failure to get my keys will cause a different course of action.
I made a psuedo-code promise:
And when it became relevant, a promise chain:
And I explained that each of these has a return value that is passed to the next one. (With arrows and the values).
The text was updated successfully, but these errors were encountered: