The worst duplication: the same rule written three ways across layers
Franc0Fernand0 · x · 2026-09-17
Franc0Fernand0 on the sneakiest form of code duplication: the same rule expressed three ways — a permission check in the API, one in the service, one in the database. No diff or review catches it; each version looks correct alone. Then you change the rule in two places and production still runs the old one. Semantic duplication like this can't be caught by tools and requires architectural discipline to eliminate.
More from coding & agent
- px0 adds agentic inline editing powered by your local coding harness like Claude Code — arpit_bhayani · 2026-09-17
- Claude + Gemini town sim turns any bad law into next day's disaster front page — threepointone · 2026-09-17
- The cheaper agent run can cost more per usable result, argues new analysis — expectationsledger · 2026-09-17
- Templafy MCP plugs Claude into brand templates, killing the formatting last mile — JaynitMakwana · 2026-09-17
- Agent loop with Qwen3.8 runs search-edit-dock cycle on molecules, hits QED 0.387 — MaziyarPanahi · 2026-09-17
- Combining RAG and Continued Pretraining on Qwen 3.5 4B: A Subway System Experiment — funJS · 2026-09-17