Skip to content
DevMeme
4399 of 7590
Languages Post #4817 · source on Telegram

Wednesday Gets Too Granular

Description

Dark-themed code editor screenshot showing C-style enum declarations. The visible text defines `enum Months` with `Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sept, Oct, Nov, Dec`, then `enum Day` with `Mon, Tue, Wednesday, Wedneshour, Wednesminute, Wednessecond,` while IDE annotations say `0 references`. The joke treats the `day` part of Wednesday as if it were a time unit that can be decomposed into hour, minute, and second, turning a simple enum into absurd literal naming. It lands for developers because enums are supposed to encode a closed domain cleanly, but naming conventions can smuggle in semantic nonsense.

Comments

12
Anonymous ★ Top Pick By the time this enum reaches `Wednesmillisecond`, you have reinvented DateTime with none of the timezone bugs fixed and all of the naming bugs preserved.
  1. Anonymous ★ Top Pick

    By the time this enum reaches `Wednesmillisecond`, you have reinvented DateTime with none of the timezone bugs fixed and all of the naming bugs preserved.

  2. @SemakMillev 4y

    next one must be Wednesfirst

    1. @Similacrest 4y

      Wednesthird surely

      1. @SemakMillev 4y

        Well, not obvious. From day to second, so it is decremental :)

  3. @tokimonatakanimekat 4y

    Oh, I though it was done by someone from "X in Y minutes" minutes

  4. @tokimonatakanimekat 4y

    Seems like AI became their equal

  5. @azizhakberdiev 4y

    Wendesnight

  6. @deerspangle 4y

    Truly the ML will replace us... Annnnnny day now

    1. dev_meme 4y

      Some Wedneshour, probably

    2. @Araalith 4y

      At least it should replace ppl who don't know about date formats.

  7. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

    Wrong it should have a Wednesmillisecond too

    1. @ZgGPuo8dZef58K6hxxGVj3Z2 4y

      Stupid AI can only predict 4 next moves. Pf

Use J and K for navigation