Skip to content
DevMeme
2397 of 7590
CodeQuality Post #2665 · source on Telegram

Programmers naming variables: keyboard smash is the default naming convention

Description

The meme has two sections. The top shows white text on a black banner that reads "Nobody:" followed by a second banner saying "Programmers naming Variables:". Below, a slightly blurred concert-stage photo shows a dancer with neon-green braids energetically raising her hand beside another woman in a black outfit; a cropped image of a mechanical keyboard is pasted over the scene, implying frantic key-mashing. The visual gag suggests that developers generate variable names by randomly slamming the keyboard, poking fun at how hard consistent naming is in real projects. It highlights a common code-quality pain point that affects readability and maintainability for anyone who has to work with the code later

Comments

16
Anonymous ★ Top Pick We spent two hours bikeshedding between `PaymentVendorAccountId` and `VendorPaymentAccountId`; production bug fixed instantly when someone deployed it as `asdf` - turns out the real invariant is “names are immutable once in Git history.”
  1. Anonymous ★ Top Pick

    We spent two hours bikeshedding between `PaymentVendorAccountId` and `VendorPaymentAccountId`; production bug fixed instantly when someone deployed it as `asdf` - turns out the real invariant is “names are immutable once in Git history.”

  2. Anonymous

    After 20 years in the industry, I've seen entire production systems running on variables named 'thing', 'stuff', and 'doTheNeedful' - and the scariest part is when you realize the original developer who named them is now the CTO

  3. Anonymous

    The hardest problems in computer science: cache invalidation, naming things, and off-by-one errors. This meme captures the second one perfectly - watching a senior engineer name a variable is like watching interpretive dance: dramatic, unpredictable, and somehow both `tmp2` and `theReallyImportantThingThatDoesStuffForTheUserWhenTheyClickTheButton` coexist in the same codebase

  4. Anonymous

    Keyboard‑smashed identifiers have phenomenal entropy and zero intent - great for hash tables, terrible for 3am MTTR

  5. Anonymous

    Because 'x' works until the next dev asks 'which x?', then it's 'xmlHttpRequestResponseDataParserTemporaryHolder' o'clock

  6. Anonymous

    We promised DDD’s “ubiquitous language”; six months later “tmp2” became a blessed column with an SLA

  7. @Kristall_wang 5y

    (null) Null README RENAME

  8. @feskow 5y

    foo bar baz bruh lol

    1. Deleted Account 5y

      +

    2. @zherud 5y

      More like a b c m n i j k l s d e f a1 a2 a3

  9. @realVitShadyTV 5y

    smallint myPenisSize bigint yuourMomSize

  10. @realVitShadyTV 5y

    what what?

  11. @realVitShadyTV 5y

    I mean your mom gay

  12. @realVitShadyTV 5y

    She sleep with my gay mom

  13. @realVitShadyTV 5y

    oh yes 😏

  14. @Magilarp 5y

    k

Use J and K for navigation