Blog / closures
Posts tagged closures
1 post filed under this topic.
- Closures Are About Lifetime, Not Nesting — A function does not capture a snapshot of a variable — it keeps the binding alive. That distinction explains the loop bug, stale callbacks, private state, and the memory leaks that survive long after the request is gone. 2026-11-02 · 15 min read