Skip to content
DevMeme
455 of 7435
The Infinite Task of Naming a Single File
CodeQuality Post #524, on Aug 6, 2019 in TG

The Infinite Task of Naming a Single File

Description

A five-panel comic strip from 'monkeyuser.com'. The first three panels depict a stick-figure character in a blue shirt looking bored and uninspired - first on a balcony, then standing outside, and finally slumping at a desk with a laptop. The fourth panel is a close-up of a dark-themed dialog box with the title 'NEW FILE' and a prompt 'ENTER A NEW FILE NAME', with a blinking cursor indicating a required input. The fifth and final panel returns to the desk scene, but now the character is a skeleton covered in cobwebs, having decomposed while still sitting in the chair. A small, green, ghost-like caterpillar floats in the air. This comic humorously exaggerates the well-known difficulty developers face with 'naming things,' a task often cited as one of the hardest problems in computer science. The joke is that the pressure to choose a clear, concise, and meaningful name can lead to indefinite procrastination and analysis paralysis

Comments

7
Anonymous ★ Top Pick They say the hardest things in CS are cache invalidation and naming things. At least with cache invalidation, you can just turn it off and on again. With naming, you just become a fossil
  1. Anonymous ★ Top Pick

    They say the hardest things in CS are cache invalidation and naming things. At least with cache invalidation, you can just turn it off and on again. With naming, you just become a fossil

  2. Anonymous

    The longest-running transaction in our stack isn’t the distributed saga - it’s me blocking on the IDE’s “New File Name” dialog while consulting the domain glossary, the style guide, and my existential dread

  3. Anonymous

    The same developer who spent three sprints architecting a distributed event-sourcing system with CQRS just spent forty minutes debating whether to name it UserService, UserManager, or UserHandler before ultimately going with 'untitled1'

  4. Anonymous

    There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors. This developer is still stuck on problem #2 from three sprints ago. The skeleton suggests they're using semantic versioning for their decision-making process: still on v0.0.1-alpha and nowhere near a stable release. Meanwhile, the codebase has accumulated enough technical debt to require archaeological excavation, which is convenient since the original author is now fossilized at their desk

  5. Anonymous

    We shaved minutes off CI, but the critical path is still choose_filename() - an eventually consistent, semantics-bound consensus protocol where the OK button enforces infinite backoff

  6. Anonymous

    Filenames: where choosing 'utils.py' over 'helpers.ts' demands more architectural scrutiny than the entire microservice design

  7. Anonymous

    CI turned green in five minutes; the New File dialog took five quarters - most latency was bikeshedding between kebab-case, PascalCase, and TheOneTrueName

Use J and K for navigation