Do you keep them in your IDE, or elsewhere? Do you have an app for that? Are they easily shared?

I realized I have no system at all but could use one to make it easier to find code I’ve written and might need again some day.

By snippets, I am referring to any chunk of code / text in any format or language, of any length.

Thanks!

EDIT A DAY LATER: Thanks you all! Reading all these ideas, I got inspired to create my own little web app. Wish me luck… :)

    • otl@lemmy.srcbeat.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      I mean, I get it. But… damn… can you imagine the relative computing power required to read a text file versus asking a LLM to generate that same text?

      • PoisonedPrisonPanda@discuss.tchncs.de
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Ok.right in the feels.

        To be honest, I try to search before on stackoverflow most of the time, due to the ability to write a few keywords and get a suitable answer versus formulate a prompt for the LLM.

        But on the other side, llms are used for so much bullshit and invaluable prompts that my questions for helping me in my job has a more worthwile argument.

        But of course it is a problematic topic related to llms.

        • otl@lemmy.srcbeat.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Haha no worries mate I totally get you. One of the best things about LLMs when I’ve played with them is it exercises my ability to write questions and requirements