• ILikeBoobies@lemmy.ca
    link
    fedilink
    arrow-up
    102
    ·
    5 days ago

    Vibe coders not understanding their code because they didn’t write it.

    Me not understanding my code because I wrote it a month ago.

    • UFO@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      “huh. I wonder how this works? I’ll check with the original dev”

      Checks git blame

      “Well fuck…”

      • MangoCats@feddit.it
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Me, checking the config file blame for who put in that one bad line…

        blame: you wrote the entire config file across the space of 2 months a few lines per commit - except that one bad line that somebody else put in…

    • drexy_rexy@programming.dev
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      Vibe coders not understanding their code because they didn’t write it.

      Me not understanding my code because I wrote it a month ago.

      …we are not the same :P

    • oatscoop@midwest.social
      link
      fedilink
      arrow-up
      9
      ·
      4 days ago

      My workflow is :

      Step one: write down a bunch of nonsense, massive block comments of old code in case the new code is worse, and cludges in one massive file.

      Step two: rewrite the whole thing: breaking it down into classes so it’s readable and maintainable …

      Step 3: come back later and wonder where the hell anything is. Go to step 1

        • oatscoop@midwest.social
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I do a lot of fairly complex data processing that benefits from any abstraction I can get.

          E.g. “Take these 50,000 data points, identify and apply the best set of filters for each sections, then produce the best curve fit for each section.” It’s massively complex and (hilariously) produces multiple equally massive data sets while working – acceleration and velocity plots, for example.

          • MangoCats@feddit.it
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            In the early 90s I coded up a fairly massive data analysis suite entirely in C.

            Around 1997 I translated it to C++ - the resulting data analysis ran at 1/2 the speed of the C code, but was 300% faster to modify, expand and maintain. And processor speeds were doubling every 9 months anyway.