shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Knowledge
Search knowledge... ⌘K
Knowledge · Anti-Patterns

Programming By Coincidence

Anti-pattern of relying on accidental behavior without understanding why code works

Andrei Solovev

Tags

craftsmanshipanti-patternsreliabilitymaintainabilitypragmatic-programmer

Impact

Programming by Coincidence is when code works, but you don't know why. It might work due to lucky timing, accidental ordering, or undocumented behavior. When underlying assumptions change, the code breaks mysteriously. This anti-pattern leads to fragile, hard-to-debug systems.

Symptoms

  • Programming by Coincidence is when code works, but you don't know why. It might work due to lucky timing, accidental ordering, or undocumented behavior. When underlying assumptions change, the code breaks mysteriously. This anti-pattern leads to fragile, hard-to-debug systems.

Related

  • Deliberate Programming
  • Documentation

Source

David Thomas, Andrew Hunt — The Pragmatic Programmer: Your Journey to Mastery(2019)

shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |