đȘ Closuretown
In Closuretown, nothing ever really ends.
The streets loop back on themselves with a quiet, smug confidence, as if theyâve proven something profound in a math paper you havenât read yet. You turn left at Lambda Lane, right at Lexical Scope Park, and somehow youâre back at your front door, but now your front door remembers what you were thinking the last time you used it.
âWelcome back,â the door says, voice slow and wooden. âYou were muttering about side effects.â
âWas I?â you ask.
âYou still are,â it replies, and swings open on its own.
Inside, your apartment is exactly as you left it, down to the half-drunk coffee that still knows it used to be hot. Objects here are annoyingly aware of their own history. The mug is not just a mug; itâs (Mug, theOneFromTuesdayMorning), permanently tagged with the moment you first filled it. Every time you pick it up, it remembers how many times youâve done this before, and it has⊠opinions.
âYou said,â the mug grumbles, âyou were switching to tea.â
âThat was a hypothetical,â you say.
âIt changed me,â the mug says quietly.
In Closuretown, promises stay kept whether you keep them or not. A promise here is just a function with a memory. You whisper, âIâll go for a run tonight,â and the pavement outside stores that closure in its cracks. When dusk comes, the sidewalk itself tugs at your shoes.
âWe had a deal,â the concrete reminds you. âI captured that variable. Iâm closing over it now.â
You jog. Not because you want to, but because the city has already bound the intention.
The townâs clocktower never strikes the hour. Instead, it emits the faint click of a key being pressed somewhere far away. Rumor has it the tower is wired directly into some celestial REPL: every chime is a new call frame, every echo a return. On foggy nights, you can hear stack traces drifting down Main Street like church bells.
There is a marketplace in Closuretown called The Heap. It is not tidy. Stalls are piled precariously with objects that havenât quite gone out of scope yet. Over here, a crate of abandoned iterators still trying to yield one more value. Over there, a lonely callback waiting for an event that will never fire because someone removed the listener in a fit of cleanup.
You pass a vendor selling secondhand contexts.
âCarry over your existential dread seamlessly into your next life decision!â she calls. âAll your priorities, fully bound. No configuration needed.â
You shake your head. You already have more captured state than you know what to do with.
The locals talk about The Old Days, before Closuretown incorporated, when everything was global. âIt was chaos,â says your neighbor, an old-timer who smells like tab indentation and cigarette smoke. âOne big shared namespace. Anyone could clobber anyone. Youâd go to bed as x = 3 and wake up x = "hamster" with no explanation.â
He shudders, lights another cigarette.
âLexical scope saved us,â he says. âPut a fence around the crazy.â
But there are rumors that under the city, beneath even the sewer system (which is, predictably, a network of pipes that remember every value that flowed through them), thereâs still a wild plain of globals: unbounded names roaming free, bumping into each other, occasionally colliding and rewriting reality by accident.
Once, when you were younger and dumber, you tried to access one.
You remember standing in a dim alley, pulling up a manhole cover etched with window, and feeling the hot breath of shared state rise from below. Somewhere in the dark, a voice hissed, âI know your history,â and you slammed the cover shut, heart doing a little segmentation fault in your chest.
Now you stay topside, where variables are manners and scopes are neighborhoods and everything has a tidy, nested address.
At night, the town glows with tiny lambdas scribbled in neon. On the main drag thereâs a bar called The Curry, where the drinks are never fully applied. You sidle up to the counter.
âWhatâll it be?â asks the bartender, a tired function with too many arguments.
âSurprise me,â you say.
He nods, slides over a glass labeled Drink(_, _, you). It tastes like possibility and mild regret. Across the room, people are partially committing to things: accepting jobs âlater,â falling in love âwhen conditions are met,â ordering dessert âif still hungry after main.â The air hums with unfinished business, all wrapped in tidy little closures, waiting for the right time to run.
On the walk home, you pass a small playground where children are learning not to mutate each other. They trade immutable copies of secrets and feelings like stickers. One kid hands another a confession: âI cried watching a cartoon.â The recipient looks at it, then looks at himself, and nothing visibly changesâbut you can tell the new value is there, layered in.
In the center of town is a sign nobody remembers hanging, but everyone obeys:
NO SIDE EFFECTS WITHOUT INTENTION
People here still break the ruleâitâs Closuretown, not Heavenâbut they feel it when they do. The streetlights flicker. The pavement gives a disapproving rumble. A random old for-loop stirs in its sleep and mutters about determinism.
You unlock your door. The handle is warm with old arguments.
Inside, your apartment is quiet. You sit, laptop open, cursor blinking like a patient heartbeat. Around you, the room holds onto years of unfinished drafts, half-built abstractions, abandoned projects. They donât haunt you. They just wait. Thatâs what closures do: they remember what you meant to do, indefinitely, without judgment.
You start typing.
âOnce upon a time in ClosuretownâŠâ
As you write, the words capture you back. Somewhere in the walls, in the roads, in the humming wires, the town wraps itself around your intentions, tucks them away for later, and smiles.
Nothing ever really ends here.
It just⊠stays in scope.