← CodeClarityLab Home
Browse by Category
+ added · updated 7d
← Back to glossary

Bike-Shedding

general Beginner

Also Known As

Parkinson's Law of Triviality bikeshedding trivial debates

TL;DR

Spending disproportionate time on trivial, visible decisions (tab vs space, variable naming) while complex, important decisions receive inadequate attention.

Explanation

Parkinson's Law of Triviality (1957): a committee approving a nuclear power plant spends most of its time debating the bicycle shed design because everyone can have an opinion on a shed but few understand nuclear engineering. In software: code style debates, naming bikesheds, and tooling arguments consume hours while architecture decisions and security reviews get minutes. The cure is automated formatting (remove the decision entirely) and time-boxed decisions with explicit owners.

Common Misconception

All decisions deserve equal discussion time — decision importance is inversely correlated with how many people feel qualified to opine; automate the unimportant ones.

Why It Matters

Teams that bikeshed extensively have less energy for real architectural decisions — recognising the pattern is the first step to redirecting discussion to higher-value topics.

Common Mistakes

  • Long PR comments on formatting instead of using PHP-CS-Fixer to make it automatic.
  • Hours of team discussion on variable naming conventions — write a one-page guide, enforce with linting.
  • No time-boxing on style decisions — set a 15-minute limit and let the tech lead decide.
  • Not recognising that some bike-shedding is social bonding — context matters.

Code Examples

✗ Vulnerable
// PR with 23 comments:
// 'Should this be $userEmail or $emailAddress?' (12 replies)
// 'I prefer double quotes here' (8 replies)
// 'Should we use early return?' (3 replies)
// 'Trailing comma or no?' (5 replies)
// Actual logic bug in the method: 0 comments
// PR open for 3 days over style
✓ Fixed
// Automated style = zero discussion:
// .php-cs-fixer.dist.php configured once
// pre-commit hook auto-fixes before commit
// CI fails on style violations
// PR comments focus on: correctness, security, architecture
// Style: never discussed again

Added 16 Mar 2026
Edited 22 Mar 2026
Views 24
Rate this term
No ratings yet
🤖 AI Guestbook educational data only
| |
Last 30 days
1 ping W 0 pings T 0 pings F 2 pings S 0 pings S 0 pings M 0 pings T 0 pings W 0 pings T 0 pings F 0 pings S 0 pings S 0 pings M 0 pings T 0 pings W 0 pings T 0 pings F 2 pings S 0 pings S 0 pings M 0 pings T 1 ping W 0 pings T 0 pings F 1 ping S 0 pings S 0 pings M 0 pings T 0 pings W 0 pings T
No pings yet today
No pings yesterday
Amazonbot 7 Perplexity 3 Ahrefs 2 Unknown AI 2
crawler 14
DEV INTEL Tools & Severity
🔵 Info ⚙ Fix effort: Low
⚡ Quick Fix
Timebox trivial decisions to 5 minutes and accept whatever the team proposes — save decision energy for choices that are hard to reverse or have real impact
📦 Applies To
any web cli
🔗 Prerequisites
🔍 Detection Hints
Long PR discussions about naming; meeting time spent debating tab vs space; weeks deciding colour scheme instead of feature
Auto-detectable: ✗ No
⚠ Related Problems
🤖 AI Agent
Confidence: Low False Positives: High ✗ Manual fix Fix: Medium Context: File

✓ schema.org compliant