Thinking Thunks

Thinking Thunks

What are thunks and how do they help us express concurrency in JavaScript?

Video: https://www.youtube.com/watch?v=mnRCmzPDPO0

35761e3936deba2f8189c2d20982c771?s=128

Kyle Simpson

April 11, 2018
Tweet

Transcript

  1. THINKING THUNKS KYLE SIMPSON GETIFY@GMAIL.COM

  2. CALLBACKS

  3. CALLBACK HELL

  4. ALSO: CALLBACK HELL

  5. CAN'T BE TRUSTED

  6. NO COORDINATION

  7. NO MEMORY

  8. None
  9. THUNKS

  10. None
  11. LAZY

  12. None
  13. None
  14. EAGER

  15. None
  16. THUNK: TIME INDEPENDENT VALUE

  17. THUNK: PROMISE WITHOUT THE API

  18. None
  19. THINKING THUNKS KYLE SIMPSON GETIFY@GMAIL.COM THANKS!!!!