Skip to content

Instantly share code, notes, and snippets.

@sranso
Last active August 29, 2015 14:17
Show Gist options
  • Save sranso/df42e6e761af54ff18e9 to your computer and use it in GitHub Desktop.
Save sranso/df42e6e761af54ff18e9 to your computer and use it in GitHub Desktop.

used

  • promise as a layout for the talk (we'll do this then this then this if that fails etc)
  • why would we use promises (in js and the real world -- highlighting the real world, why even bother with promises)
  • "bloopers" -- ideas i had for making this funny that "didn't make the cut"
    • a promise state is like one of these things
      • pending -- outcome tbd (playing hard to get)
      • fulfilled -- completed, and the promise has a value (worth something)
      • rejected -- failed, has a reason why it failed (excuses excuses)
      • settled -- has fulfilled/rejected (you know how you feel)
    • diff libs as men i have dated and how they are different. or dates i have been on?
    • chaining promises like a prison you build for yourself
    • i promise i have a point here
    • a promise can only succeed or fail once and once it is one of those things, there's no changing it. b/c of this, you can react to the outcome appropriately. -- there's a joke here...

unused

  • promises are like vibrators? lol..
  • browser is a vibrator, libraries are boys who try to make it all ok..
  • no really, i know what asynchronous means... reusing "no really i get it"
  • add in metaphors
  • ask audience for promises they've kept and not kept
    • write live code?
    • write code for promises i've said i'd keep and didn't
    • mad lib for promises
  • share how i think about things to have things make more sense/stick in my brain
  • end with: we're all terrible people
    • jk we're not all terrible
      • b/c i'm amazing
        • hey, follow me on twitter!
          • also come watch me perform improv

i want everyone to leave with...

  • intelectually
    • an understanding of promises and how to use them (if they don't already)
  • entertainment
    • what promises do we as people make?
    • a well-developed and interesting character

todo

  • sudo code of promises
  • organize slides
  • put guideline up top?
  • fill in slides that are missing info
  • practice
  • figure out where i can add in participation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment