• derpgon@programming.dev
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    5
    ·
    15 hours ago

    This 1000x. I am a PHP developer, I found out about two months ago that the AI assistant is included in my Jetbrains subscription (All pack, it was a separate thing before). And recently found about Junie, their AI agent that has deep thinking (or whatever the hell it is called). I tried it the same day to refactor part of my test that had to migrated to stop using a deprecated function call.

    To my surprise, it required only very minor changes, but what would’ve taken me about 3 hours was done in half an hour. What I also liked was that it actually asked if it can run a terminal command to verify thr test results and it went back and fixed a broken test or two.

    Finally I have faith in AI being useful to programmers.

    For a test, I took our dev exam (for potential candidates) and just sent it to see what it does just based on the document, and besides a few mistakes it even used modern tools and not some 5 year old stuff (like PSR standards) and implemented core systems by itself using well known interfaces (from said PSRs). I asked it to change Dependency Injection to use Symfony DI instead of the self-made thing, and it worked flawlessly.

    Of course, the code has to be reviewed or heavily specified to make sure it does what it is told to, but all in all it doesn’t look like just a gimmick anymore.

    • jsomae@lemmy.ml
      link
      fedilink
      English
      arrow-up
      24
      ·
      15 hours ago

      Absolutely, this matches my experience. I think this is also the experience of most coders who willingly use AI. I feel bad for the people who are forced to use it by their companies. And those who are laid off because of C-levels who think AI is capable of replacing an experienced coder.