Skip to content
DevMeme
288 of 7435
The Ultimate Defense for Terrible Code
CodeQuality Post #345, on Apr 29, 2019 in TG

The Ultimate Defense for Terrible Code

Description

A two-panel meme using a scene from the movie 'Pirates of the Caribbean'. In the top panel, Commodore Norrington, representing a senior developer or code reviewer, looks sternly and says, 'Yours is without a doubt the worst code I've ever run'. This is a play on his original line about Captain Jack Sparrow being the 'worst pirate'. In the bottom panel, Captain Jack Sparrow, personifying the pragmatic or deadline-pressed developer, smirks back and replies with the simple defense, 'But it runs'. The meme perfectly captures the tension between maintaining high code quality and the practical reality of shipping functional, albeit messy, code. It's a universally understood scenario for developers who have either written or reviewed code that works through brute force rather than elegant design, accumulating significant technical debt in the process

Comments

8
Anonymous ★ Top Pick Ah, the 'but it runs' defense. It's the software equivalent of a ship held together with duct tape and barnacles. It might float today, but good luck trying to patch the hull during the next storm
  1. Anonymous ★ Top Pick

    Ah, the 'but it runs' defense. It's the software equivalent of a ship held together with duct tape and barnacles. It might float today, but good luck trying to patch the hull during the next storm

  2. Anonymous

    That 20-year-old monolith wrapped in a microservice façade is basically the Black Pearl - cursed, undead, and still the fastest ship in prod

  3. Anonymous

    That's the same code that's been running in production for 8 years, has zero documentation, and the original developer left to become a goat farmer in New Zealand

  4. Anonymous

    Code quality is negotiable; production uptime is the only review comment that resolves itself

  5. Anonymous

    This perfectly encapsulates the eternal struggle between the architect who demands SOLID principles and the engineer who just shipped to production at 4:59 PM on Friday. Sure, your code might have cyclomatic complexity that would make Dijkstra weep, zero test coverage, and enough global state to make functional programmers physically ill - but if it passes the ultimate integration test (production), you've technically won the argument. It's the software equivalent of 'I may not know art, but I know what ships.' The real kicker? That 'worst code' often outlives three rewrites and five architectural review boards

  6. Anonymous

    In production, 'it runs' is the ultimate get-out-of-refactor-free card - even if it's COBOL cosplaying as microservices

  7. Anonymous

    “But it runs” - the line that turns a 200‑line shell script into the company’s billing pipeline

  8. Anonymous

    “But it runs” is a liveness proof - the pager will verify the missing safety properties at 3 a.m

Use J and K for navigation