• footfaults@lemmygrad.ml
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    4
    ·
    12 days ago

    It’s boilerplate because it’s just lines of code that are spelling out a repetitive pattern that you end up having to mindlessly write over and over.

    And again, I ask you, where is that mindlessly writing over and over code? I have even gone through the trouble of trying to see the problem from your perspective, by looking at ModelViewSet and ModelSerializer where if you squint really hard you could maybe make a case that it is repetitive, but in code that is object oriented, you can’t just say that “oh inheriting from some big class that does 98% of the actual implementation is boilerplate” - because literally all you are doing is inheriting from ModelViewSet and setting three whole fields that are specific to your model. Is three lines boilerplate, when they determine how the entire class behaves and if it works or doesn’t work? I would argue not.

      • footfaults@lemmygrad.ml
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        5
        ·
        12 days ago

        Ah, here we are again. Now you passive aggressively say that I’m just stupid. So, now, who is doing the “low effort trolling” that you claim anyone who disagrees with you does?

        Incredible.

          • footfaults@lemmygrad.ml
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            5
            ·
            edit-2
            12 days ago

            It’s neither boilerplate, nor is it interesting code. So I’m unsure what your point is, or why it is being asked as an either-or type of question where I have to pick one. I would appreciate you explaining it further.

            As an aside, I had to spend time taking something that you got out of an LLM to get it to the point where it’s small and boring.

            I suppose if you want to spend all your mental energy fighting with an LLM and telling it “no, that’s not quite right, why did you make more work for yourself when there was a much easier way to do it”, that is certainly one way to spend precious mental energy. It does seem to be a common pattern that many people have already shared, where they spend lots of time fixing what the LLM generated, and many report that it sucks all the enjoyment out of the creative process.

            At least when I have to do the “no, that’s not quite right” with a junior engineer, I am helping someone grow in their career and sharing what I have learned over 20+ years in my craft, and that I am giving back to the next generation, as repayment to the generation that taught me.

            LLMs are dead labor. They destroy the future of young engineers and replace with a parody that makes similar mistakes, has to be corrected, just like a junior engineer, but there is no life in it. Just a simulation of one. It destroys joy.

            • ☆ Yσɠƚԋσʂ ☆@lemmygrad.mlOP
              link
              fedilink
              arrow-up
              5
              ·
              12 days ago

              It ultimately doesn’t matter whether this type of code falls into your definition of boilerplate. As you admit, it’s not interesting code that anybody wants to write. It’s not intellectually engaging, it’s not enjoyable to regurgitate it time and again, and it needs to be written.

              I suppose if you want to spend all your mental energy fighting with an LLM and telling it “no, that’s not quite right, why did you make more work for yourself when there was a much easier way to do it”, that is certainly one way to spend precious mental energy. It does seem to be a common pattern that many people have already shared, where they spend lots of time fixing what the LLM generated, and many report that it sucks all the enjoyment out of the creative process.

              You didn’t actually bother reading the article in the submission did you?

              LLMs are dead labor. They destroy the future of young engineers and replace with a parody that makes similar mistakes, has to be corrected, just like a junior engineer, but there is no life in it. Just a simulation of one. It destroys joy.

              That’s certainly your opinion, and it’s quite obvious that there is absolutely nothing I could say to change it.