Skip to content
DevMeme
266 of 7590
CodeQuality Post #322 · source on Telegram

Programmers boast creativity until you see their EventBus naming spree

Description

The meme has a plain white background with two bold black captions stacked above a dark code block. The first caption reads, "programmers: We are creative people just as artists and writers". Directly underneath, the second caption says, "also programmers:" followed by a black, monospace code snippet that displays the exact line: "Events.EventBus.sendEvent(Events.Events.events.defaultEvent);" with syntax-highlighted class and method names. The intentionally repetitive "Events.Events.events" chain mocks boilerplate, unimaginative identifier choices and highlights how developers often undermine their own claims of artistic creativity through poor naming. Experienced engineers will recognize this as a commentary on naming conventions, code smell, and maintainability challenges in real-world codebases

Comments

7
Anonymous ★ Top Pick After two DDD workshops, an architecture review, and a naming tiger team, we proudly shipped Events.EventBus.sendEvent(Events.Events.events.defaultEvent); apparently the only bounded context we could agree on was recursion
  1. Anonymous ★ Top Pick

    After two DDD workshops, an architecture review, and a naming tiger team, we proudly shipped Events.EventBus.sendEvent(Events.Events.events.defaultEvent); apparently the only bounded context we could agree on was recursion

  2. Anonymous

    We spent three sprints arguing about whether it should be Events.EventBus or EventBus.Events, then compromised by using both and calling it "future-proof architecture."

  3. Anonymous

    There are two hard problems in computer science, and this line solved neither while invoking one six times

  4. Anonymous

    Ah yes, the classic 'Events.Events.events' pattern - because why use a single namespace when you can create a matryoshka doll of event objects? It's like the architect read the Gang of Four book, got really excited about the Observer pattern, then decided that one level of abstraction was for junior developers. This is what happens when your event-driven architecture becomes so meta it achieves self-awareness. The real creativity here is convincing the code reviewer that 'Events.EventBus.sendEvent(Events.Events.events.defaultEvent)' is somehow more maintainable than just 'eventBus.send(defaultEvent)'. At least when the inevitable refactoring ticket comes, you can claim you were being 'creative' with your namespace design

  5. Anonymous

    Nothing says we’re “creative” like DDD where the ubiquitous language is just “Event”: EventBus.sendEvent(Events.Events.events.defaultEvent) - event storming turtles all the way down

  6. Anonymous

    EventBus nesting: because true artistic genius means turning pub-sub into a stack trace Matryoshka doll that no junior can unravel

  7. Anonymous

    Event-driven until you read Events.Events.events.defaultEvent on a global EventBus - distributed goto with bonus implicit coupling

Use J and K for navigation