• Pennomi@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    Because it’s not worth inventing a whole tool for a one-time use. Maybe you’re the kind of person who has to spin up 20 similar Django projects a year and it would be valuable to you.

    But for the average person, it’s far more efficient to just have an LLM kick out the first 90% of the boilerplate and code up the last 10% themself.

    • AdamBomb@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      “Not worth inventing”? Do you have any idea how insanely expensive LLMs are to run? All for a problem whose solution is basically static text with a few replacements?

      • Pennomi@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        You’re focused too much on the “inventing” and not enough on the “one time”. A flexible solution can find value even if it’s otherwise inferior to a rigid one.

        • AdamBomb@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          16 days ago

          If it’s 90% boilerplate like you were saying above, how flexible does it need to be, really? If it only needs to get 90% there, surely a general-purpose scaffolding tool could do the job just as well.

    • Feyd@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      I’d rather use some tool bundled with the framework that outputs code that is up to the current standards and patterns than a tool that will pull defunct patterns from it’s training data, make shit up, and make mistakes that easily missed by a reviewer glazing over it

      • Pennomi@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        I honestly don’t think such a generic tool is possible, at least in a Django context. The boilerplate is about as minimal as is possible while still maintaining the flexibility to build anything.

        • mesa@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          16 days ago

          I just use https://github.com/cookiecutter/cookiecutter and call it a day. No AI required. Probably saves me a good 4 hours in the beginning of each project.

          Almost all my projects have the same kind of setup nowadays. But thats just work. For personal projects, I use a subset-ish. Theres a custom Admin module that I use to make ALL classes into Django admin models and it takes one import, boom done.