e005: Allocate it where?

Published: Nov. 8, 2015, 8:15 p.m.

b'

Allocate it where?

\\n

Subject: Returning functions from other functions, and thinking about the stack, the heap, and reference types.

\\n
  • MP3
  • \\n\\n\\n

    Notes

    \\n

    This episode, we look at returning functions from other functions, and as part of that discuss some basics about the stack and the heap\\u2014and why we need to care about them for returning functions.

    \\n

    The functions themselves are not especially interesting; they just show you the basic form you use to return functions from other functions, and how to then use them in another function. You\\u2019ll want to take a detailed look instead at the documentation for each (or just read the source!), because that\\u2019s where the meat of the discussion in this week\\u2019s code is.

    \\n

    Links

    \\n\\n

    Sponsors

    \\n\\n

    Become a sponsor

    \\n\\n

    Follow

    \\n'