Why is it called a “Closure” anyway? A Swift Conceptual Look.

1 · Andrew Bancroft · June 6, 2017, 4 a.m.
What’s in a name? If a programming language comes with a named feature, you can be pretty sure it was named that way for a reason. It’s a safe bet that the language designers were purposeful in their naming, so if you can figure out that essential “Why’d they name it that?” question, you might be that much closer to understanding the feature or concept. Why “closure”? Now the challenge: Actually figuring out the answer to that “Why?...