• meekah@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    2 hours ago

    Yeah, been there. The codebase I worked on also had a single method with 10k lines.

    The database IDs were strings including the hostname of the machine that wrote to the DB. Since it was a centralized server, all IDs had the same hostname. The ID also included date and time accurate to the millisecond, and the table name itself.

    Me: Mom, can we have UUIDs? Mom: We have UUIDs at home UUIDs at home: that shit

    • rbn@sopuli.xyz
      link
      fedilink
      arrow-up
      6
      ·
      2 hours ago

      You should add the local weather forecast, a random fun fact and the canteen menu of the day to the key to make it more interesting to read.