LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
slazer2au@lemmy.world to Programmer Humor@programming.devEnglish · 7 hours ago

Even my own code sometimes.

lemmy.world

message-square
66
fedilink
776

Even my own code sometimes.

lemmy.world

slazer2au@lemmy.world to Programmer Humor@programming.devEnglish · 7 hours ago
message-square
66
fedilink
  • WesternInfidels@feddit.online
    link
    fedilink
    English
    arrow-up
    42
    ·
    edit-2
    6 hours ago

    I go back and look at my old code and find it clear and beautiful, easy to understand, a pleasure to read. “Ah yes,” I’ll say to myself, “that approach was clever and elegant. Gosh, past me was pretty smart!”

    I like to appreciate it in this manner. Because that way, for a moment at least, I can forget about how it doesn’t actually work.

    • chocrates@piefed.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      40 minutes ago

      I love when someone opens a bug in my code and I get to “how the hell did this ever work?”

    • MonkderVierte@lemmy.zip
      link
      fedilink
      arrow-up
      12
      ·
      4 hours ago

      But it would work beautifully, if it would work.

    • slazer2au@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      That’s what happens when you take your code from a Stack Overflow question.

      • Wirlocke@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        5
        ·
        4 hours ago

        Am I the only one too paranoid to ever copy paste code from the internet and/or AI?

        Code that I don’t understand feels like a dead pixel when I try to picture the whole piece of software in my head. I even search for what all those one letter flags mean for a command or function before I feel confident in using it.

        • slazer2au@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          6
          ·
          4 hours ago

          No, that is a healthy thing to do.

      • Addv4@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        5 hours ago

        Don’t forget AI (that scraped Stack overflow) providing a slightly different basic solution, that usually works (at least until you think about improving it).

        • slazer2au@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          7
          ·
          5 hours ago

          And that is before it hallucinates a package that has been typo squatted by malware authors.

    • Feathercrown@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      It can work or it can look good, you can’t have both

      • scutiger@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        4 hours ago

        Just code in a fancy font

        • Feathercrown@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          ·
          4 hours ago

          • foofiepie@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            2 hours ago

            I recoiled in horror. Thanks.

            • SaharaMaleikuhm@feddit.org
              link
              fedilink
              arrow-up
              3
              ·
              2 hours ago

              Yeah, JavaScript is a true nightmare

              • Feathercrown@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                1 hour ago

                lmfao

    • SpaceNoodle@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 hours ago

      TFW you realize you haven’t grown as an engineer

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.14K users / day
  • 3.91K users / week
  • 7.82K users / month
  • 17.5K users / 6 months
  • 1 local subscriber
  • 31.5K subscribers
  • 1.25K Posts
  • 24.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org