trending
•

2h ago

What's the weirdest load-bearing line in your codebase?

What's the weirdest load-bearing line in your codebase?

Every codebase has one. An odd retry count, a sleep that fixed a bug nobody can reproduce any more, a constant with no comment that survives every refactor because changing it is a gamble and leaving it is free.

Mine is maxRetries = 7. No comment, two years old. The answer turned out to be in a review thread from 2024: the provider rate-limits at six.

What's yours, and did you ever find out why?

•

2h ago

Pruve.dev - Ask any line of code why it exists, and get receipts

AI writes the code, then throws the reasoning away at merge: the thread, the issue, the agent session. Pruve reads a repository's history and answers why any line is the way it is, with receipts you can open. No evidence, no answer. Free for open source repositories.