Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
Python & Django

The Patterns We See Most

Last updated:

The five most common

  1. No error handling beyond the happy path
  2. No monitoring, so failures are silent
  3. Credentials in the repository
  4. No tests, so nobody dares change anything
  5. Query multiplication — one query per row in a loop
The second costs the most over time. A system that fails silently produces wrong data for weeks before anyone notices, and by then the downstream effects are considerable.

Five more

  • Dependencies never updated, until they cannot be
  • Configuration hard-coded, so environments differ
  • Everything in one module, so nothing is testable
  • Bare exception handling that swallows real errors
  • No idempotency, so retries create duplicates

Bare exception handling deserves its own mention

Catching every exception and continuing hides the failures you most need to see. It turns a loud problem into a silent one, which is the wrong direction.

Catch what you expect and can handle. Let the rest surface, be logged and alert somebody.

The costs

MistakeTypical cost
No monitoringWeeks of wrong data
No error handlingOne bad record stops everything
Credentials committedA security incident
No testsChanges take three times as long
No idempotencyDuplicate records, hard to unpick

They are all cheap to fix early

Every one of these takes hours to address during development and days or weeks to retrofit. None of them requires a rewrite.

If you have inherited a system with several of them, address monitoring and idempotency first — they prevent the most damage.

Frequently asked questions

Which should we fix first?

Monitoring, so you know what is happening. Then idempotency, so retries are safe.

How do we know if we have these?

An hour reading the code answers most of it. Look for exception handling, configuration and query patterns.

Can these be fixed incrementally?

Yes, all of them. None requires a rewrite, which is worth knowing before anyone proposes one.

What if the original developer is gone?

That is the usual situation. These are all identifiable from the code without needing the author.

Keep reading

Recognise more than three of these?

Most inherited systems have them. Monitoring first — it tells you what else is wrong.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

Custom Software DevelopmentWeb DevelopmentMachine Learning