🔍

đŸȘ† 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.

writings published computers programming memory