jlai.lu
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmings.world to Programmer Humor@programming.dev · 1 day ago

Why I always keep doing it...

lemmy.world

message-square
53
link
fedilink
468

Why I always keep doing it...

lemmy.world

cm0002@lemmings.world to Programmer Humor@programming.dev · 1 day ago
message-square
53
link
fedilink
alert-triangle
You must log in or # to comment.
  • Shaker_dev@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 hours ago

    Because you’re Good developer

  • ChickenLadyLovesLife@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    8 hours ago

    I started coding professionally using Visual Basic (3!). Everybody made fun of VB’s On Error Resume Next “solution” to error handling, which basically said if something goes wrong just move on to the next line of code. But apparently nobody knew about On Error Resume, which basically said if something goes wrong just execute the offending line again. This would of course manifest itself as a locked app and usually a rapidly-expanding memory footprint until the computer crashed. Basically the automated version of this meme.

    BTW just to defend VB a little bit, you didn’t actually have to use On Error Resume Next, you could do On Error Goto errorHandler and then put the errorHandler label at the bottom of your routine (after an Exit Sub) and do actual structured error handling. Not that anybody in the VB world ever actually did this.

  • schema@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    18 hours ago

    The absolute worst thing that can happen is if it suddenly starts working without doing anything

    • Ravel@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      14 hours ago

      Sweet, push to production.

  • copacetic@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    104
    ·
    1 day ago

    xkcd 242 obviously

    • Rhaedas@fedia.io
      link
      fedilink
      arrow-up
      26
      ·
      1 day ago

      I feel called out. I’m not sure which way I’d go.

      • SpaceNoodle@lemmy.world
        link
        fedilink
        arrow-up
        25
        ·
        1 day ago

        Get somebody else to pull it.

        • 0ops@piefed.zip
          link
          fedilink
          English
          arrow-up
          16
          ·
          1 day ago

          For science.

    • Absolute_Axoltl@feddit.uk
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      Me playing point and click games

  • Blackmist@feddit.uk
    link
    fedilink
    English
    arrow-up
    28
    ·
    23 hours ago

    You make a change. It doesn’t fix it.

    You change it back. The code now works.

    • MummifiedClient5000@feddit.dk
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 hours ago

      The code now works breaks in a new way.

    • zerobot@lemmy.wtf
      link
      fedilink
      arrow-up
      9
      ·
      21 hours ago

      the real fix was the journey, the destination never mattered

  • sleepmode@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    21 hours ago

    Trying to debug race conditions be like

    • verdare@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      9
      ·
      18 hours ago

      Yuuup… Debugging concurrent code is a bitch.

  • rumschlumpel@feddit.org
    link
    fedilink
    arrow-up
    47
    ·
    1 day ago

    But sometimes it works, or throws a different error …

    • einkorn@feddit.org
      link
      fedilink
      arrow-up
      42
      ·
      1 day ago

      And a different error means progress!

      • SpaceNoodle@lemmy.world
        link
        fedilink
        arrow-up
        12
        ·
        1 day ago

        A different error each time?

        • einkorn@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          24 hours ago

          I refer to @floofloof@lemmy.ca comment.

    • floofloof@lemmy.ca
      link
      fedilink
      arrow-up
      20
      ·
      1 day ago

      When it does a different crazy thing every time and you have no idea why, it means you’re a genius and have created life.

      • littleomid@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 hours ago

        Or you’re coding in C.

    • atopi@piefed.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      20 hours ago

      you have to check if you are dealing with a bug or with a ghost

    • idunnololz@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      24 hours ago

      Actually tru. Damn preprocessors.

  • endless_nameless@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    23 hours ago

    The error message goes stale when it’s been sitting for a while. I need to see a fresh one.

  • JATothrim_v2@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    15 hours ago

    demons ahem. data-races.

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 🇮 @pawb.social
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 day ago

    Code doesn’t work; don’t know why.

    Code works; don’t know why.

    • Skullgrid@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

      Cargo Cult Programming is bad.

  • DahGangalang@infosec.pub
    link
    fedilink
    arrow-up
    26
    ·
    1 day ago

    The usual for me is that I flip back over to my editor and hit ctrl+save, cause heaven forbid I ever remember to do that before running.

    • jtrek@startrek.website
      link
      fedilink
      arrow-up
      9
      ·
      23 hours ago

      I have no regrets from setting my editor to save-on-blur

  • zerobot@lemmy.wtf
    link
    fedilink
    arrow-up
    6
    ·
    21 hours ago

    sometimes it needs to warm up… or cool down

  • TabbsTheBat (they/them)@pawb.social
    link
    fedilink
    arrow-up
    23
    ·
    1 day ago

    The first one is to warm up the engine. Like getting your car ignition to kick over in the winter

    • WanderingThoughts@europe.pub
      link
      fedilink
      arrow-up
      7
      ·
      24 hours ago

      and sometimes that’s exactly what’s needed. Services wake up, connections get established and then when you try again things are up and it works.

  • MsPenguinette@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    1 day ago

    You jest but “wait and retry” is such a powerful tool in my DevOps toolbox. First thing I tell junior engineers when they run across anything weird

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

      Honestly, in DevOpS, when you’re running stuff in a GitHub Action/Azure DevOps Pipeline/Jenkins, yeah… sometimes a run will fail for no obvious reason.

      And then work the next time (and the next 100+ times after that) when you haven’t changed a damn thing.

    • blarghly@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 hours ago

      “Maybe if we ignore the problem, it will go away”

  • lastunusedusername2@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    17 hours ago

    This is just how you use Visual Studio

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.52K users / day
  • 4.12K users / week
  • 9.88K users / month
  • 17.9K users / 6 months
  • 131 local subscribers
  • 30.9K subscribers
  • 2.25K Posts
  • 87K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org