Callbacks

  • Certain types of problems come up a lot in programming (sort, find, map, etc)
  • Solutions usually look the same except for a critical decision point
  • Can we find a way to swap out the critical decision point in a function?
  • We could solve these problems once and only swap out the decision point

12 / 21