• kameecoding@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    9
    ·
    8 hours ago

    For me as a software developer the accuracy is more in the 95%+ range.

    On one hand the built in copilot chat widget in Intellij basically replaces a lot my google queries.

    On the other hand it is rather fucking good at executing some rewrites that is a fucking chore to do manually, but can easily be done by copilot.

    Imagine you have a script that initializes your DB with some test data. You have an Insert into statement with lots of columns and rows so

    Inser into (column1,…,column n) Values row1, Row 2 Row n

    Addig a new column with test data for each row is a PITA, but copilot handles it without issue.

    Similarly when writing unit tests you do a lot of edge case testing which is a bunch of almost same looking tests with maybe one variable changing, at most you write one of those tests, then copilot will auto generate the rest after you name the next unit test, pretty good at guessing what you want to do in that test, at least with my naming scheme.

    So yeah, it’s way overrated for many-many things, but for programming it’s a pretty awesome productivity tool.

    • DahGangalang@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      2 hours ago

      Yeah, it (in my case, ChatGPT) has been great for helping me along with functions I’m only passingly familiar with / trying to use in new ways.

      One that I was really surprised with was that it gave me a surprisingly robust, sensible, and (seemingly) well tuned-to-my-case check list of things to inspect for a used car I intend to buy. I’m already mostly familiar with what I’m doing there, but it pointed to some things I might’ve overlooked / didn’t know were points of concern for the specific vehicle I’m looking at.

      • zbyte64@awful.systems
        link
        fedilink
        English
        arrow-up
        2
        ·
        47 minutes ago

        Pepper Ridge Farms remembers when you could just do a web search and get it answered in the first couple results. Then the SEO wars happened…

    • Nalivai@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      3 hours ago

      Keep doing what you do. Your company will pay me handsomely to throw out all your bullshit and write working code you can trust when you’re done. If your company wants to have a product in the future that is.

      • kameecoding@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        edit-2
        2 hours ago

        Lmao, okay buddy, based on how many interviews I have sat on in, the chances that you are a worse programmer than me are much higher than you being better than me.

        Being a pompous ass dismissive of new tooling makes you chances even worse 😕

        • Nalivai@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          52 minutes ago

          The person who uses fancy autocomplete to write their code will be exactly the person who thinks they’re better than everyone. Those traits are correlated.

          • kameecoding@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            19 minutes ago

            Do you use an IDE for writing your code or do you use a notepad like a “real” programmer? An IDE like Intellij has fancy shit like generating getters, setters, constructors, equals hashscode, you should never use those, real programmers write those by hand.

            Your attention detail is very good btw, which I am ofc being sarcastic about because if you had any you’d have noticed I have never said I write my code with chat gpt, I said Unit tests, sql for unit tests.

            Ofc attention to detail is not a requirement of software engineering so you should be good. (This was also sarcasm I feel like you need this to be pointed out for you).

            Also by your implied logic that the code being not written by you = bad, no company should ever hire Junior engineers, I mean what are you gonna do? Fucking read the code they wrote?

        • PotentialProblem@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          1 hour ago

          I’ve been in the industry awhile and your assessment is dead on.

          As long as you’re not blindly committing the code, it’s a huge time saver for a number of mundane tasks.

          It’s especially fantastic for writing throwaway tooling. Need data massaged a specific way? Ez pz. Need a script to execute an api call on each entry in a spreadsheet? No problem.

          The guy above you is a nutter. Not sure if people haven’t tried leveraging LLMs or what. It has a ton of faults, but it really does speed up the mundane work. Also, clearly the person is either brand new to the field or doesn’t even work in it. Otherwise they would have seen the barely functional shite that actual humans churn out.

          Part of me wonders if code organization is going to start optimizing for interpretation by these models rather than humans.

          • zbyte64@awful.systems
            link
            fedilink
            English
            arrow-up
            1
            ·
            42 minutes ago

            When LLMs get it right it’s because they’re summarizing a stack overflow or GitHub snippet it was trained on. But you loose all the benefits of other humans commenting on the context, pitfalls and other alternatives.