Loop Code Recur
Master algorithms, one iteration at a time.

Loop Code Recur

Master algorithms, one iteration at a time.

Latest Articles

Plausible Isn't Correct: Auditing the Loops Your AI Assistant Hands You
AI & Developer Tools

Plausible Isn't Correct: Auditing the Loops Your AI Assistant Hands You

Generated loops arrive looking clean, tested, and reasonable — which is exactly why they slip through review. Here's a practical checklist for checking termination, invariants, and edge cases before anything AI-suggested touches production.

Nov 23, 2026

Stack-Safe Recursion Without the TCO Fairy Tale
Functional Programming

Stack-Safe Recursion Without the TCO Fairy Tale

Tail-call optimization is a lovely promise that your runtime may or may not keep. Comparing trampolines, explicit stacks, and plain iterative rewrites in JavaScript, Python, and Clojure — and when each one is actually worth the tradeoff.

Nov 23, 2026

Two Pointers in the Wild: Five Jobs Sorted Streams Do in Production
Algorithms & Problem Solving

Two Pointers in the Wild: Five Jobs Sorted Streams Do in Production

The two-pointer technique usually gets filed under interview prep and forgotten by Monday. It shows up everywhere in real systems, though — log merging, deduping, delta sync, and more. Here are five production uses with complexity notes and the traps that bite.

Nov 23, 2026

Simple Site Analytics With Serverless Clojure: Track Visitors Without the Bloat
Algorithms & Problem Solving

Simple Site Analytics With Serverless Clojure: Track Visitors Without the Bloat

You don't need a heavyweight analytics platform to know who's visiting your site. Here's how to build a lean, serverless analytics pipeline in Clojure — one function at a time.

Nov 07, 2026

Live Clojure Cookbooks: Ready-to-Use Recipes for Everyday Functional Programming
Algorithms & Problem Solving

Live Clojure Cookbooks: Ready-to-Use Recipes for Everyday Functional Programming

Skip the theory lecture — these Clojure 'recipes' solve real problems you'll hit at work this week. From taming nested maps to writing your own reduce, each one is copy-paste ready.

Nov 07, 2026

When Your Loop Won't Quit: Tracking Down Memory Hogs and Runaway Iterations
Algorithms & Problem Solving

When Your Loop Won't Quit: Tracking Down Memory Hogs and Runaway Iterations

Infinite loops and bloated recursion don't always crash your app right away — sometimes they just quietly eat your memory until everything grinds to a halt. Learn how to spot these sneaky performance killers before they take down your production system.

Jul 17, 2026

Why My Brain Froze on a Recursion Question (And How I Finally Made It Click)
Algorithms & Problem Solving

Why My Brain Froze on a Recursion Question (And How I Finally Made It Click)

Recursion looks elegant on a whiteboard but feels terrifying in an interview. Here's how shifting your mental model — not your syntax — is the real unlock for thinking recursively under pressure.

Jul 12, 2026