• Cpo@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 hours ago

    I partly disagree, complex algorithms are indeed a no, but for learning a new language it is awesome.

    Currently learning Rust and although it cannot solve everything, it does guide you with suggestions and usable code fragments.

    Highly recommended.

  • Reptorian@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 hours ago

    I use it as second last resort, and in those times, it did worked out. I had to test, verify, and make changes. Even so, I avoid using them.

  • ulkesh@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    20 hours ago

    No shit. Senior devs have been saying this the whole time. AI, in its current form, for developers, is like handing a spatula to a gourmet chef. Yes it is useful to an extremely small degree, but that’s it…for now.

    • finitebanjo@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      19 hours ago

      A convoluted spatula that sometimes accidentally cuts what your cooking im half instead of flipping it and consumes as much power as the entirety of Japan.

    • interdimensionalmeme@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      3
      ·
      12 hours ago

      It’s when you only have a pot and your fingers that a spatula is awesome. I could never bother finish learning C and its awkward syntax. Even though I know how to code in some other language, I just couldn’t write much C at all and it was painful and slow. And too much time passed between attempts that I forgot most of it in between. Now I can easily make simple C apps, I just explain the underlying logic, with example of how I would do it in my preferred language and piece by piece it quickly comes together and I don’t have to remember if the for loop needs brackets of parenthesis or brackets nor if the line terminator is colon or semi colon.

  • LordCrom@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    19 hours ago

    I get more benefit from a good IDE that helps me track libraries, cars, functions, grammar checks my code, offers a pop-up with params and options…

    I don’t needcode I would grade as a D- from an AI. Most of what I write comes from my code closet anyway. I have skeleton code for so much, and I trust my old code more than AIs new code

  • ggppjj@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    1 day ago

    It introduced me to the basics of C# in a way that traditional googling at my previous level of knowledge would’ve made difficult.

    I knew what I wanted to do and I didn’t know what was possible or how to ask without my question being closed as a duplicate with a link to an unhelpful post.

    In that regard, it’s very helpful. If I had already known the language well enough, I can see it being less helpful.

    • UnderpantsWeevil@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      arrow-down
      1
      ·
      edit-2
      1 day ago

      Great for Coding 101 in a language I’m rusty with or otherwise unfamiliar.

      Absolutely useless when it comes time to optimize a complex series of functions or upgrade to a new version of the .NET library. All the “AI” you need is typically baked into Intellisense or some equivalent anyway. We’ve had code-assist/advice features for over a decade and its always been mid. All that’s changed is the branding.

      • turmacar@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        1 day ago

        Even with amazing documentation, it can be hard to find the thing you’re looking for if you don’t know the right phrasing or terminology yet. It’s easily the most usable thing I’ve seen come out of “AI”, which makes sense. Using a Language Model to parse language is a very literal application.

        • Asetru@feddit.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          21 hours ago

          The person I replied to was talking about learning the basics of a language… This isn’t about searching for something specific, this is about reading the very basic introduction to a language before trying to Google your way through it. Avoiding the basic documentation is always a bad idea. Replacing it with the LLMed version of the original documentation probably even more so.

    • Semi-Hemi-Lemmygod@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      1 day ago

      This is what I’ve used it for and it’s helped me learn, especially because it makes mistakes and I have to get them to work. In my case it was with Terraform and Ansible.

      • ggppjj@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        1 day ago

        Haha, yeah. It really loves to refactor my code to “fix” bracket list initialization (e.g. List<string> stringList = [];) because it keeps not remembering that the syntax has been valid for a while.

        It’s newest favorite hangup is to incessantly suggest null checks without asking if it’s a nullable property that it’s checking first. I think I’m almost at the point where it’s becoming less useful to me.

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      I learned bash thanks to AI!

      For years, all I did was copy and paste bash commands. And I didn’t understand arguments, how to chain things, or how it connects.

      • HighlyRegardedArtist@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        You do realize that a very thorough manual is but a man bash away? Perhaps it’s not the most accessible source available, but it makes up for that in completeness.

        • ggppjj@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          1 day ago

          I believe accessibility is the part that makes LLMs helpful, when they are given an easy enough task to verify. Being able to ask a thing that resembles a human what you need instead of reading through possibly a textbook worth of documentation to figure out what is available and making it fit what you need is fairly powerful.

          If it were actually capable of reasoning, I’d compare it to asking a linguist the origin of a word vs looking it up in a dictionary. I don’t think anyone disagrees that the dictionary would be more likely to be fully accurate, and also I personally would just prefer to ask the person who seemingly knows and, if I have reason to doubt, then go back and double-check.

          Here’s the manpage for bash’s statistics from wordcounter.net:

          • HighlyRegardedArtist@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            Perhaps LLMs can be used to gain some working vocabulary in a subject you aren’t familiar with. I’d say anything more than that is a gamble, since there’s no guarantee that hallucinations have not taken place. Remember, that to spot incorrect info, you need to already be well acquainted with the matter at hand, which is at the polar opposite of just starting to learn the basics.

            • ggppjj@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              24 hours ago

              I do try to keep the “unknown unknowns” problem in mind when I use it, and I’ve been using it far less as I latched on to how OOP actually works and built up the lexicon and my own preferences. I try to only ask it for high-level stuff that I can then use to search the wider (hopefully more human) internet more traditionally with. I fully appreciate that it’s nothing more than a very incredibly fancy auto-completion engine and the basic task of auto-complete just so happens to appear intelligent as it gets better and more complex but continues to lack any form of real logical thoughts.

  • BigBenis@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    1 day ago

    It’s great as essentially a StackOverflow that I can talk to in real time. But as with SO, I’ve still got to figure out what pieces are legit and where they go.

      • turmacar@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        It’s definitely exploded but content farms were a problem even before 2022. There’s a reason google results starting with “reddit” / “stack overflow” were trending so hard.

  • alienanimals@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    4
    ·
    1 day ago

    The writer has a clear bias and a lack of a technical background (writing for Techies.com doesn’t count) .

    You don’t have to look hard to find devs saving time and learning something with AI coding assistants. There are plenty of them in this thread. This is just an opinion piece by someone who read a single study.

    • kureta@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      if you are already competent and you are aware that it doesn’t necessarily give you correct information, the it is really helpful. I know enough to sense when it is making shit up. Also it is, for some scenarios, faster and easier then looking at a documentation. I like it personally. But it will not replace competent developers anytime soon.

    • jas0n@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      23 hours ago

      This opinion is a breath of fresh air compared to the rest of tech journalism screaming “AI software engineer” after each new model release.

  • asmodee59@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    4
    ·
    1 day ago

    Who are those guys they keep asking this question over and over ? And how are they not able to use such a simple tool to increase their productivity ?

  • rsuri@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    21 hours ago

    I use it occasionally. Recently I used it to convert a written specification in a document to a java object. And it was like 95% correct - but having to manually double check everything and fix the errors eliminated much of the time savings.

    However that’s a very ideal use case. Most often I forget it exists.

    • rolaulten@startrek.website
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      18 hours ago

      I use it a fair bit. Mind, it’s something like formating a giant json stdout into something I want to read…

      I also do find it’s useful for sketching out an outline In pseudo code.

  • Choco1ateCh1p@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 day ago

    Every now and then, GitHub Copilot saves me a few seconds suggesting some very basic solution that I am usually in the midst of creating. Is it worth the investment? No, at least not yet. It hasn’t once “beaten” me or offered an improved solution. It (more frequently than not) requires the developer to understand and modify what it proposes for its suggestions to be useful. Is is a useful tool? Sure, just not worth the price yet, and obviously not perfect. But, where I’m working is testing it out, so I’ll keep utilizing it.

  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    1 day ago

    It has some uses.

    But I’m waiting for a good self hosted model and to have a more powerful gpu to properly run it.

  • Landless2029@lemmy.world
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    2
    ·
    2 days ago

    Everyone keeps talking about autocomplete but I’ve used it successfully for comments and documentation.

    You can use vs code extensions to generate and update readme and changelog files.

    Then if you follow documentation as code you can update your Confluence/whatever by copy pasting.

    • Dremor@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 day ago

      I also use it a lot for unit tests. It helps a lot when you have to write multiple edge cases, and even find new one at times. Like putting a random int in an enum field (enumField = (myEnum)1000), I didn’t knew you could do that…

      • Landless2029@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Yeah. I’ve found new logic by asking GPT for improvements on my code or suggestions.

        I cut the size of a function in half once using a suggested recursive loop and it blew my mind.

        Feels like having a peer to do a code review on hand at all times.

  • einkorn@feddit.org
    link
    fedilink
    English
    arrow-up
    100
    arrow-down
    7
    ·
    2 days ago

    For me, it is a glorified auto-complete function. Could definitely live without it.

      • MeatsOfRage@lemmy.world
        link
        fedilink
        English
        arrow-up
        29
        arrow-down
        3
        ·
        2 days ago

        Hell yea. Our unit test coverage went way up because you can blow through test creation in second. I had a large complicated migration from one data set to another with specific mutations based on weird rules and GPT got me 80% of the way there and with a little nudging basically got it perfect. Code that would’ve taken a few hours took about 6 prompts. If I’m curious about a new library I can get a working example right away to see how everything fits together. When these articles say there’s no benefit I feel people aren’t using these tools or don’t know how to use them effectively.

        • SkyeStarfall@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          8
          arrow-down
          1
          ·
          1 day ago

          Yeah, it’s useful, you just gotta keep it on a short leash, which is difficult when you don’t know what you’re doing

          Basically, it’s a useful tool for experienced developers that know what to look out for

          • AWildMimicAppears@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            From the combined comments it looks like if you are a beginner or a pro then it’s great; if you only have just enough knowledge to be dangerous (in german that’s proverbial “gefährliches Halbwissen”) you should probably stay away from it :-)

    • Kualk@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      edit-2
      1 day ago

      We always have to ask what language is it auto-completing for? If it is a strictly typed language, then existing tooling is already doing everything possible and I see no need for additional improvement. If it is non-strictly typed language, then I can see how it can get a little more helpful, but without knowledge of actual context I am not sure if it can get a lot more accurate.