• SpaceCowboy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    1
    ·
    1 day ago

    You shouldn’t think of “AI” as intelligent and ask it to do something tricky. The boring stuff that’s mostly just typing, that’s what you get the LLMs to do. “Make a DTO for this table <paste>” “Interface for this JSON <paste>”

    I just have a bunch of conversations going where I can paste stuff into and it will generate basic code. Then it’s just connecting things up, but that’s the fun part anyway.

    • neclimdul@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      18 hours ago

      Most ides do the boring stuff with templates and code generation for like a decade so that’s not so helpful to me either but if it works for you.

      • SpaceCowboy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        8 hours ago

        Yeah but I find code generation stuff I’ve used in the past takes a significant amount of configuration, and will often generate a bunch of code I don’t want it to, and not in the way I want it. Many times it’s more trouble than it’s worth. Having an LLM do it means I don’t have to deal with configuring anything and it’s generating code for the specific thing I want it to so I can quickly validate it did things right and make any additions I want because it’s only generating the thing I’m working on that moment. Also it’s the same tool for the various languages I’m using so that adds more convenience.

        Yeah if you have your IDE setup with tools to analyze the datasource and does what you want it to do, that may work better for you. But with the number of DBs I deal with, I’d be spending more time setting up code generation than actually writing code.