Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Please spare me from having to get in touch with that shit I wrote back then

Please spare me from having to get in touch with that shit I wrote back then

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
23 Posts 16 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P [email protected]

    I thought I had it worked out, how to sort of strike a balance so I can keep my focus intact and let it be helpful without wasting time constantly correcting its stuff or shying away from actually paying attention to the code. But I think my strategy of "let the LLM generate a bunch of vomit to get things started and then take on the correct and augmentation from a human standpoint" has let the overall designs at a high level get a lot sloppier than they used to be.

    Yeah, you might be right, it might be time to just set the stuff aside except for very specialized uses.

    S This user is from outside of this forum
    S This user is from outside of this forum
    [email protected]
    wrote last edited by
    #14

    Specialised domains are where LLMs really show how thoroughly they can hallucinate bullshit.

    1 Reply Last reply
    2
    • P [email protected]

      IDK, I just popped open a project from 10 years ago and it's perfectly clean, it's actually better than some of my modern code because it's not LLM-ified to save time.

      I think it has a lot more to do with whether it was made in that "kind of crappy IDK what I'm doing" phase of programming. Some of your old stuff is going to be in that category sure. As long as you're out of that, however long it took you to get there or however far away it was in time, your code should be good.

      B This user is from outside of this forum
      B This user is from outside of this forum
      [email protected]
      wrote last edited by
      #15

      it's actually better than some of my modern code because it's not LLM-ified to save time.

      Hmm that seems like an indication you're rushing things and maybe ought not do that?? 🤦

      1 Reply Last reply
      7
      • cows_are_underrated@feddit.orgC [email protected]
        This post did not contain any content.
        gerryflap@feddit.nlG This user is from outside of this forum
        gerryflap@feddit.nlG This user is from outside of this forum
        [email protected]
        wrote last edited by
        #16

        Had this multiple times. Reading code from 2 years ago and being like "what idiot wrote this" only to find out the culprit was me. Then the memories came back and I remember why the compromises were made. What I learned from that is not to judge people too much on their code. What you see is a combination of both their skill and also a whole bunch of necessary compromises for which you may not know the reason. Nowadays I don't get too annoyed if the code is a bit messy. As long as it's well tested and documented.

        P 1 Reply Last reply
        10
        • gerryflap@feddit.nlG [email protected]

          Had this multiple times. Reading code from 2 years ago and being like "what idiot wrote this" only to find out the culprit was me. Then the memories came back and I remember why the compromises were made. What I learned from that is not to judge people too much on their code. What you see is a combination of both their skill and also a whole bunch of necessary compromises for which you may not know the reason. Nowadays I don't get too annoyed if the code is a bit messy. As long as it's well tested and documented.

          P This user is from outside of this forum
          P This user is from outside of this forum
          [email protected]
          wrote last edited by
          #17

          Yes — I think part of the lesson is to document the rationale and the compromises as much or more than the intended functionality.

          1 Reply Last reply
          3
          • cows_are_underrated@feddit.orgC [email protected]
            This post did not contain any content.
            B This user is from outside of this forum
            B This user is from outside of this forum
            [email protected]
            wrote last edited by
            #18

            That's scary as shit

            1 Reply Last reply
            1
            • cows_are_underrated@feddit.orgC [email protected]
              This post did not contain any content.
              absgeeknz@lemmy.nzA This user is from outside of this forum
              absgeeknz@lemmy.nzA This user is from outside of this forum
              [email protected]
              wrote last edited by
              #19

              I had a less experienced person with me looking at some code.

              I pointed out that a particular section of code is shit; just bad form, hard to debug and generally unpleasant to work with. I noted that the person that wrote this didn't really know what they were doing, sure the code works and has been working for a long time, but this is not how we would do things.

              They asked "wow, who wrote this?" I replied "it was me 13 years ago"; it is a great ice breaker, in a non-critical part of the system, new people realize we all have to start somewhere.

              It also allows me to go over the standards we use, why we use them and how to simplify debugging.

              L 1 Reply Last reply
              12
              • F [email protected]

                And this is why you comment your code

                synae@lemmy.sdf.orgS This user is from outside of this forum
                synae@lemmy.sdf.orgS This user is from outside of this forum
                [email protected]
                wrote last edited by
                #20

                It's not that it's purpose or implementation is unclear, it's how bad I was at coding 2 years 6 months 2 months last week

                1 Reply Last reply
                0
                • absgeeknz@lemmy.nzA [email protected]

                  I had a less experienced person with me looking at some code.

                  I pointed out that a particular section of code is shit; just bad form, hard to debug and generally unpleasant to work with. I noted that the person that wrote this didn't really know what they were doing, sure the code works and has been working for a long time, but this is not how we would do things.

                  They asked "wow, who wrote this?" I replied "it was me 13 years ago"; it is a great ice breaker, in a non-critical part of the system, new people realize we all have to start somewhere.

                  It also allows me to go over the standards we use, why we use them and how to simplify debugging.

                  L This user is from outside of this forum
                  L This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #21

                  That's a great approach, hope you don't mind I'm gonna copy

                  absgeeknz@lemmy.nzA 1 Reply Last reply
                  3
                  • L [email protected]

                    That's a great approach, hope you don't mind I'm gonna copy

                    absgeeknz@lemmy.nzA This user is from outside of this forum
                    absgeeknz@lemmy.nzA This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #22

                    Happy to help

                    1 Reply Last reply
                    0
                    • cows_are_underrated@feddit.orgC [email protected]
                      This post did not contain any content.
                      Q This user is from outside of this forum
                      Q This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #23

                      Fourth panel should just be him dead. I'd have already pulled my hand out

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups