SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
OttoVonNoob@lemmy.ca to Programmer Humor@programming.dev · 8 个月前

Something is broken... I know it..

lemmy.ca

message-square
24
link
fedilink
482

Something is broken... I know it..

lemmy.ca

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

    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
      ·
      8 个月前

      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
        ·
        8 个月前

        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
          ·
          8 个月前

          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
    ·
    8 个月前

    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
      ·
      8 个月前

      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
    ·
    8 个月前

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

    • marlowe221@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      ·
      8 个月前

      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
        8 个月前

        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
    ·
    8 个月前

    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
    ·
    8 个月前

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

    • RagnarokOnline@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      8 个月前

      Of course I know him: he’s me!

    • Anticorp@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      8 个月前

      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
        ·
        8 个月前

        Relevant XKCD.

  • unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    14
    ·
    8 个月前

    Better ship it. It works after all.

  • Anticorp@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    8 个月前

    This stops being shocking as you gain more experience.

  • MonkderVierte@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    8 个月前

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

  • WalrusDragonOnABike [they/them]@lemmy.today
    link
    fedilink
    arrow-up
    7
    ·
    8 个月前

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

  • AwesomeLowlander@sh.itjust.works
    cake
    link
    fedilink
    arrow-up
    6
    ·
    8 个月前

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

  • Awkwardparticle@programming.dev
    cake
    link
    fedilink
    arrow-up
    5
    ·
    8 个月前

    “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
    ·
    8 个月前

    It works as intended because you haven’t integrated yet

  • RedSeries@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 个月前

    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
    ·
    8 个月前

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

  • nixfreak@sopuli.xyz
    link
    fedilink
    arrow-up
    2
    ·
    8 个月前

    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.

  • 1.21K users / day
  • 3.34K users / week
  • 7.9K users / month
  • 20K users / 6 months
  • 319 local subscribers
  • 24.9K subscribers
  • 1.56K Posts
  • 57.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org