• BrianTheeBiscuiteer@lemmy.world
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 day ago

    The only time it really helps me is when I’m following a pretty clear pattern and the auto-complete spares me from copy-pasting or just retyping the same thing over and over. Otherwise I’m double-checking everything it wrote, and I have to understand it to test it, and that probably takes most of my time. Furthermore, it usually doesn’t take the entire codebase into account so it looks like it was written by someone who didn’t know our team or company standards as well as our proprietary code.

    • Hoimo@ani.social
      link
      fedilink
      arrow-up
      3
      ·
      15 hours ago

      If there’s a clear pattern, regex is your friend. I use it for complex find-and-replace actions, or to generate code based on a template and a list of values (find a value, replace it with the template including the value). Full control over the output, more reliable even than manual copy-pasting.