Ḹḗṃɯӳ
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
OttoVonNoob@lemmy.ca to Programmer Humor@programming.dev · 6 months ago

Something is broken... I know it..

lemmy.ca

external-link
message-square
24
fedilink
481
external-link

Something is broken... I know it..

lemmy.ca

OttoVonNoob@lemmy.ca to Programmer Humor@programming.dev · 6 months ago
message-square
24
fedilink
alert-triangle
You must log in or register to comment.
  • Solemarc@lemmy.world
    link
    fedilink
    arrow-up
    93
    ·
    6 months ago

    My favourite is always;

    Lemme quickly write this test, it passes great, if I make this little change it’ll fail. It’s still passing, damn.

    • dan@upvote.au
      link
      fedilink
      arrow-up
      59
      ·
      6 months ago

      The worst is when you expect an existing test to fail, but it passes, and it turns out the test wasn’t actually properly testing the code. Fixing the test finds a bunch of broken edge cases.

      • TunaLobster@lemmy.world
        link
        fedilink
        arrow-up
        44
        ·
        6 months ago

        Then you ask questions about what the past person could possibly have been thinking. You wonder what logic path brought them to create the code this way. You check git blame. It was you.

        • sbv@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          22
          ·
          6 months ago

          Debugging. It’s a whodunnit where the victim, murderer, and investigator are all you.^(apologies to Filipe Fortes)

  • Balthazar@lemmy.world
    link
    fedilink
    arrow-up
    64
    arrow-down
    1
    ·
    6 months ago

    It’s always scary when it compiles without errors the first time. Then you just know there’s a logic bug or corner case in there somewhere.

    • IsoSpandy@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      It’s always a logic bug that you will find the day after you forgot about how the code works.

  • Boomer Humor Doomergod@lemmy.world
    link
    fedilink
    English
    arrow-up
    56
    ·
    6 months ago

    Congratulations your code will now be in production for the next hundred years.

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      6 months ago

      Nothing is temporary. Every script, patch, application, and duct tape MacGyver/Scotty inspired fix I’ve ever written will run for eternity….

      • dan@upvote.au
        link
        fedilink
        arrow-up
        22
        ·
        edit-2
        6 months ago

        The first “temporary hack” I ever wrote for my current job (~January 2014) is still in the codebase.

  • 0laura@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    42
    ·
    6 months ago

    if you didn’t intend for it to work and it’s working then it’s not working as intended

  • NocturnalMorning@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    6 months ago

    Corollary, what moron wrote this…oh, i did.

    • RagnarokOnline@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      6 months ago

      Of course I know him: he’s me!

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 months ago

      One time I stayed up late trying to fix a really complicated problem that I couldn’t figure out. I was drinking. I got really drunk and fixed the problem. In the morning I couldn’t figure out my own code. I had no idea what I wrote, or how it worked, but it did work. I just left it since it was apparently above my ability to fix.

      • mindbleach@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        6 months ago

        Relevant XKCD.

  • unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    14
    ·
    6 months ago

    Better ship it. It works after all.

  • Anticorp@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 months ago

    This stops being shocking as you gain more experience.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    Still no usable code tho, because usable code is maintainable.

  • WalrusDragonOnABike [they/them]@lemmy.today
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    Something’s broken, Something’s failing, rotting!

  • AwesomeLowlander@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    6 months ago

    MFW I hook up a Factorio spaghetti section to inputs and it works the first time.

  • Awkwardparticle@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    6 months ago

    “You know that temp shitty load balancer you wrote on your second month to get things up again. We still use it to this day.” My boss last week.

  • rockSlayer@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    6 months ago

    It works as intended because you haven’t integrated yet

  • RedSeries@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    Remember, every temporary solution is a permanent one! It’s always spooky when it works the first time.

  • luciole (he/him)@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    Break it, confirm it’s broken, fix it back. Makes me feel better every time.

  • nixfreak@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

    lol - isn’t that the truth

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 778 users / day
  • 4.6K users / week
  • 9.23K users / month
  • 17.7K users / 6 months
  • 1 local subscriber
  • 23.1K subscribers
  • 1.31K Posts
  • 43.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org