{ } Forgeline

// blog

Notes from the editor.

Short, practical explanations of the ideas that trip people up.

Oct 28, 2026 · JavaScript · 6 min

Understanding closures without the jargon

A closure is just a function that remembers where it was born. Here's how that one idea powers counters, memoization and React hooks.

Oct 14, 2026 · Career · 8 min

How to read code you didn't write

Start at the entry point, follow the data, and write down questions. A repeatable method for unfamiliar codebases.

Sep 30, 2026 · Python · 5 min

List comprehensions vs. loops: when to use which

Comprehensions are elegant until they aren't. Rules of thumb for readable, fast Python.

Sep 12, 2026 · SQL · 10 min

Why your query is slow (and the index that fixes it)

Reading EXPLAIN output step by step, and choosing composite indexes in the right column order.

Aug 25, 2026 · Git · 7 min

Git rebase, explained with a whiteboard

Rebase rewrites history so it reads like a story. When it's safe, when it isn't, and how to undo it.