11. Your Test Charged a Real Card? Dependency Injection Fixes It A class that builds its own Stripe gateway with `new` can't be swapped, or tested without charging a real card. The fix: take a PaymentGateway interface in the constructor, so you 10/15 23:04 ♡
12. Why Claude Code "Forgets" (and How to Manage Context) Context is everything Claude can see right now, held in one context window with a limit. Before you type, the system prompt, your CLAUDE.md, tool names and skill descriptions are a 10/14 23:03 ♡
13. Hundreds of Lines on the Wrong Assumption? Use Plan Mode Claude didn't write bad code. Nobody checked the plan. Press Shift+Tab until the status bar says plan mode on (or launch with --permission-mode plan), and Claude reads and explores 10/13 02:02 ♡
14. What Happens to Request 201? Java Virtual Threads Explained A platform thread holds an OS thread for its whole life, so we keep a pool, and Tomcat's default is 200. When 200 requests are blocked waiting on the database, request 201 waits. V 10/11 23:02 ♡
15. Make Claude Code Run Your Tests Every Time: Hooks An instruction is a request. A hook is a guarantee: a shell command that runs automatically at a point in Claude Code's lifecycle. Add a PostToolUse hook in settings.json with the 10/11 02:02 ♡