Paradoxes and theorems every developer should know
summary
Shows concrete rules and surprising counts: using serials 72 and 4 → 89 estimate (German tank estimator) and the same method later estimates iPhone sales from device IDs; invoice IDs reveal monthly growth (one month up 108%). Demonstrates cognitive traps with numbers (2,4,6 test only 21% find the rule), the Wason/beer card solution, and the birthday paradox (23 people → 50% shared birthday). Recommends avoiding sequential IDs (use UUID/short IDs), notes hash collisions and SHA-1/Git moves, applies Benford’s law to PHP repo file lengths, and shows Bayesian spam scoring (word “horrible” → ~32% negative).
AI-written summary · about
