Software Unscripted cover image

Are Functions Data? with Yehonathan Sharvit

Software Unscripted

CHAPTER

Is Closure a Function?

Programming, we use the body to implement the mapping because it's more efficient in terms of memory. It seems like on the one hand, it sort of feels right, but also doesn't feel right because it also feels like functions are special. I can tell you that enclosure, we asked the opposite question. So enclosure hash maps can behave as functions. Oh, interesting. Closure is a lease, right? So the first element in the parenthesis is expected to be an operator, it's a macro or a function. Or a special form, right?

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner