• gravitas_deficiency@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Corollary:

    The job market will be flooded with a shitload of junior devs who never actually earned their degree in the coming years, and anyone older than a mid-gen zoomer is gonna be able to pretty much write their own check.

    • Sanctus@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      Just think though what you will be doing for that check you write yourself, going through mountains of incomprehensible AI code. Just make sure you add 20g to whatever salary you were thinking.

  • dan@upvote.au
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month ago

    My employer is trying to get people to use AI more, too.

    I’m skeptical of AI, but I’m finding it useful for menial tasks - things that you’d otherwise automate using an AST-based codemod tool (like jscodeshift, libcst codemod, etc), a hacky find/replace, or do by hand (boring, tedious work that I’d rather not do). Giving the AI system an example patch for something like migrating away from a legacy API, and saying “do this same thing across these 200 other files”, can have pretty good results.

    In general, it seems like a good tool for things where the entire process is well-defined - the prompt and context provide all the info it needs - and I include example code in the context.

    I don’t trust it for brand new code in a large existing codebase… Even the best AI models still get a lot of things wrong.

    • SpaceCowboy@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      For sure. I copy JSON from swagger and get a Typescript interface all the time. It’s boring stuff to do manually, and yeah there are definitely tools I could use for this, but it’s not as easy. It’s basic stuff, and the AIs can do it reliably.

      I have a bunch of chat contexts for things like this. SQL -> DTO object, JSON -> Typescript, etc. So it’s kinda a swiss army knife kind of tool where it can do a bunch of basic stuff. Sure there are specific tools for each of these things, but it’s easier to have all of those basic functions in one place.

      But this week I was doing some very complicated logic that required in depth knowledge of the data structures and consideration for a whole bunch of edge cases… so I didn’t even touch an LLM this week. Though next week I might add some new tables to the DB, I’ll think about the data relationships and get that right, and then I’ll have the AIs deal with all of the boring shit involved in getting it to the FE.

  • monkeyman512@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    It’s a tool and has its place. For me it’s currentl place is replacing Google searches about programming stuff. This is not to say the AI answers are perfect, they are just generally a better use of my time than Google results because Google has gotten so bad.

      • mogranja@lemmy.eco.br
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        So AI in Google searches has improved Google to the point where it’s as good as it was before enshittification. Anybody want to guess what the next step is?

        • Botzo@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          1 month ago

          AI product pushing, absolutely. I actually fairly shocked there isn’t more. Probably because they can’t actually predict the output.

          “You can do get the most efficient results at the lowest TCO with [insert vendor’s product]!”