• szczuroarturo@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    That would be correct for me. If i know what question to ask i also know how to solve it. And its not good at solving beacuse it requires precision which is something that generative ai inherently dont poses. But its also why i think gen ai will reduce the number of artist very significantly beacuse art just need to be good enough. Or to be precise democrtize art. No longer will you need to have a band of 5 pepole and a smidge talent to make a metal song for yourself. Likewise if you want a sick reasonably specific wallpaper for your screen. Now idea will be good enough for a good enough result.

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

    I used replit for education. At some point they added ai assistance. It was like pair programming with someone who is over eager and doesn’t know why you’re dying things.

    When I’m teaching code, I don’t need ai to finish my circle calculation program before I’ve explained the first line to students.

    • bleistift2@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      I, on the other hand, am very happy that AI can autocomplete the n-th similar filter function I need to write.

      • Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        In line completion of repetitive stuff is fine, even though it does often introduce bugs, meaning I still need to read every single char it writes. Now scale that up to entire functions, project that onto people that don’t know the language/library well, and don’t understand the function itself. That’s just chaos.

    • Klnsfw 🏳️‍🌈@lemmynsfw.com
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      Last year, for the first time, a large majority of my students used chatGPT.

      This correlated with their skills at the start of the year: the more they lacked (or were lazy), the more they used it. And at the end of the year, they were the ones who had learned the least.

      I’m not playing the old fart who thinks young people are getting dumber and dumber. There are beginning to be studies on this, and my little experience is consistent with their results.

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

    One of the common uses I’ve heard is for generating boiler plate code. I have two thoughts on this. First, you actually have to understand what the boiler plate code is doing for it to be of any value. Second, there are already solutions for this that work just as well or better. Most of the major IDE’s either support code templates or have extensions for that. You just have to be willing to take the time to create templates. I use Resharper with Visual Studio for this all the time.

    I tried copilot free for a month and was not that impressed.

    • Prunebutt@slrpnk.net
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      A colleague once “showed off” how impressive Copilot supposedly was. I was like:

      1. Please don’t let AI write unit tests. That’s the one spot where I really don’t need bugs done by automation.
      2. Don’t you guys use snippets? I do that shit faster with snippets, macros and knowing my way around neovim.
      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        I’d rather just write it out. I’ve never used snippets or macros per say, but I do make liberal use of regex replace and multiline cursors lol. Writing out a bunch of getters and setters? Regex!

        I did try LLM tab auto complete and while sure, it did suggest some stuff that was useful (after refactoring it), the amount of time I spent WTF’ing some suggestions it made wasn’t worth it.

        I find more benefit from asking an LLM about something I’m undecided or confused about, and while it’s never given me a good enough answer, it has stirred enough creative juices in my brain to help me along lol.

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        1 month ago

        I’d rather just write it out. I’ve never used snippets or macros per say, but I do make liberal use of regex replace and multiline cursors lol. Writing out a bunch of getters and setters? Regex!

        I did try LLM tab auto complete and while sure, it did suggest some stuff that was useful (after refactoring it), the amount of time I spent WTF’ing some suggestions it made wasn’t worth it.

        I find more benefit from asking an LLM about something I’m undecided or confused about, and while it’s never given me a good enough answer, it has stirred enough creative juices in my brain to help me along lol.

        Edit: sorry for the dupes. When Eternity said it failed the send I took that at face value.

      • tyler@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        I don’t have snippets set up for languages I’ve never touched before.

        But copilot sucks. ChatGPT went super downhill. Claude is alright. If I know the language then it’s not that helpful. But if I don’t, or I don’t know the algorithm, then yeah, it’s super helpful.

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        I’d rather just write it out. I’ve never used snippets or macros per say, but I do make liberal use of regex replace and multiline cursors lol. Writing out a bunch of getters and setters? Regex!

        I did try LLM tab auto complete and while sure, it did suggest some stuff that was useful (after refactoring it), the amount of time I spent WTF’ing some suggestions it made wasn’t worth it.

        I find more benefit from asking an LLM about something I’m undecided or confused about, and while it’s never given me a good enough answer, it has stirred enough creative juices in my brain to help me along lol.

      • Zikeji@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 month ago

        I’d rather just write it out. I’ve never used snippets or macros per say, but I do make liberal use of regex replace and multiline cursors lol. Writing out a bunch of getters and setters? Regex!

        I did try LLM tab auto complete and while sure, it did suggest some stuff that was useful (after refactoring it), the amount of time I spent WTF’ing some suggestions it made wasn’t worth it.

        I find more benefit from asking an LLM about something I’m undecided or confused about, and while it’s never given me a good enough answer, it has stirred enough creative juices in my brain to help me along lol.

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

      Probably better be careful to proofread it. If you’re about to be fired for something you let ChatGPT tell an important client, I wouldn’t think “it was ChatGPT’s fault” is going to make much difference in your favor.

      • vzq@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 month ago

        Oh yeah. It’s always my mail. Not ChatGPT’s mail.

        It just helps me pump up the word count to a point where the suits think it’s acceptable.

        I prompt it with two sentences and I get two full paragraphs.

      • Tar_Alcaran@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        More than you think, because outputting vast amounts of pseudo-accurate bullshit is EXACTLY what spammers and scammers do.

  • Venator@lemmy.nz
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 month ago

    I wonder how they’re measuring productivity, I don’t think there’s a good way to measure it tbh 😅

    • vrighter@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      tests are code too. It makes you feel more productive to generate them, I guess.

      If it’s not good for the real code, it’s not good for the tests

  • NigelFrobisher@aussie.zone
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I got fed up with my boss coming around and saying “would this work go any faster with AI?”, but now I’ve become AI-Positive and I take her bits of technical debt we’d like to clean up saying “we could use AI on this!”.

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

    Absolutely has been my experience. It’s actually slowed me down because of the slop it tends to throw in there as part of the hallucinations.

    • Venator@lemmy.nz
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      I found it sometimes useful when I first started using it, but seems like it’s getting worse. It’s also annoyingly inconsistent, sometimes generates the right thing, then you go to another file to make a similar change and it does something completely useless…

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

    As a hobbyist with no production-environment or critical coding projects, Google Gemini has been great for generating a starting point for Arduino projects if I otherwise don’t know how to get going.

  • flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    If people aren’t getting anything out of llms they’re using them wrong.

    If you blindly copy paste code you don’t understand from chatgpt there’s obviously a problem

    Get it to generate single functions at a time with the requirements clearly defined and then actually read over the code and it’s an amazing tool

    • Starbuncle@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 month ago

      I like built-in AI autocomplete more than an actual AI chat. It’s amazing at filling in code that is really obvious so I don’t have to type it myself. Anything even remotely complex will be subtly wrong though, so it’s only good for reducing tedium.

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        1 month ago

        Exactly. It’s good at generating anything you know well enough that you’ll instantly spot the errors, but it shouldn’t be used for anything you aren’t fully comfortable with doing by hand

  • FlorianSimon@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Oh sweet irony… I remember butting heads with techbros on this very platform about their misguided intuition that people criticizing LLMs are going to be left out (assuming I or others had never tried them).

    Yeah, I write enough bugs on my own, I’ll pass on the 41% more, thank you very much.

    Sure, I know this study needs to be replicated and should not be considered to be a holy truth… But the issues with the tech do pile up, and they’re not just ethical concerns about resource usage. There’s a new study like this one every week.

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

      I got used to using Copilot for a project that had it be accessible for very junior programmers (thus: lots of explanation in comments). It worked great, creating a chunk of boilerplate for each described function.

      It’s absolutely useless in the real world. Code is 5+ years old, crosses over various coding conventions and does not use the stuff seen as default on StackOverflow.

      Copilot couldn’t figure out what I wanted. Intellij’s long list of internal If-statements does the job though, and saves on a few households of power consumption.

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

    Weed too. Programmers on weed think they’re more productive but just introduce more bugs than sober programmers. Similar ratios as LLMs too IIRC

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

    You’re not doing it right if you’re just straight up using whatever ChatGPT gives you. Use it to get the bulk of the code, edit it to work and follow project standards, then use it. CoPilot has certainly improved my productivity. There is a cost though. I am nowhere near as good as writing code from scratch as I was a year ago, because I haven’t done it in around that long.

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

    I mean, if you’re already competent in what you’re doing, it probably won’t help, but I’ve found they are very helpful when learning a new system.

    Like it might turn 10 searches about how a language works into 1 or 2.

    So I don’t have to look up type conversions, or proper loop syntax or if have to pipe in a a blank object into this function or I can just leave it null etc. And can just look up hoe to fix that 1 error it gave me instead.

    It’s pretty much the exact same cost-benifit as stealing code off of stack overflow.