• Johanno@feddit.org
    link
    fedilink
    arrow-up
    37
    ·
    3 months ago

    I write such comments because I have to.

    Company policy.

    Also we have to specify every line of code and what it should do…

    • ulterno@lemmy.kde.social
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      4
      ·
      3 months ago

      I feel like I am going to have to do the same thing in the end, to get my hand-over accepted.
      Should I just copy the line of code and make a comment next to it with:

      // It does <paste line of code>
      

      CC BY-NC-SA 4.0

        • ulterno@lemmy.kde.social
          link
          fedilink
          English
          arrow-up
          11
          arrow-down
          5
          ·
          3 months ago

          Not every. The quick, very-low effort ones, I just leave.

          Why:
          I saw another post with “Anti Commercial AI License”, then wen on to read the license and went, “Neat!”.

          • It makes it easier for anyone to decide what to do if they want to use my comment/post (in cases where it actually has something useful)
          • It makes life just a bit harder for people data-mining for AI
            • That way, some data entry worker will probably ask for a raise and probably even get it and maybe some entrepreneur going “AI everywhere!” will think twice.
            • Or there will be a chatbot spouting “Anti Commercial AI License” or “CC By-NC-SA” in their answer text, which would be hilarious.

          CC BY-NC-SA 4.0

          • communism@lemmy.ml
            link
            fedilink
            arrow-up
            5
            ·
            3 months ago

            How are you inserting your signature? is it manually? Do you have some kind of keyboard shortcut to insert it?

            • ulterno@lemmy.kde.social
              link
              fedilink
              English
              arrow-up
              5
              arrow-down
              1
              ·
              edit-2
              3 months ago

              For now, I have just saved it in my clipboard application, so I copy-paste.
              When it goes out of history, I just open a file, where I have saved it and copy from there. So it’s pretty crude.

              I was hoping that either the KDE Social web interface would add a “Signature” feature or I would pick some Lemmy application that would allow that, but for now it’s just this.

              Perhaps, if I feel like it’s being too frequent, I may set a compose key for it.

              CC BY-NC-SA 4.0