• phorq@lemmy.ml
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    ChatGPT just makes me feel like I’m doing code review for junior developers who don’t understand the task… wait…

  • UnfortunateShort@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    1 year ago

    ChatGPT was never made for programming and is horrible at generating code. It is nice for a peer-programming kinda setup tho, because it can quickly point you towards tools, libraries, APIs etc. to use

    • oldfart@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      It generated a custom needs GUI OCR tool in Qt5. I don’t know a single bit of Qt5 and went from zero to working tool in half an hour.

      The tool takes a screenshot, lets me select an area on the screen, OCRs it and displays the text in a window.

      If ChatGPT isn’t made for programming then I’m looking forward for a product that is.

  • szczuroarturo@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I find it to be suprisingly usless compared to classic aproach. But in my case it might be beacuse of the language i work with ( abap ).

    • wizardbeard@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      I’ve got no issues with people using stackoverflow or chatGPT as a reference. The problem has always been when anyone just skims what they found and just paste it in without understanding it. Without looking at the rest of the comments, further discussion, or looking at any other search results for further insight and context.

      I think chatGPT makes this sort of “carelessness” (as opposed to carefulness) even easier to do, as it appears to be responding with an answer to your exact question and not just something the search algorithm thinks is related.

  • Semi-Hemi-Demigod@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    In days of yore, before Google or even Altavista, you could tell the quality of a team by how many O’Reilly books they had on the shelves.

  • guywithoutaname@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I strongly advise not to do that. As others pointed out, it really is just predicting the next word. It is worth learning about how to problem solve and to recognize that the only way to become a better program is with practice. It’s better to get programming advice from real people online and read the documentations for the functions and languages you are trying to use.

  • smotherlove@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I’ve always, always been a documentation-only guy. Meaning I almost never use anything other than the documentation for the languages and libraries I use. I genuinely don’t feel that I’m missing out on anything, I already write code faster than my peers and I don’t feel the need to try to be some sort of 10x developer.

    • alignedchaos@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Sometimes there are better methods to implement something, and we can learn from others’ mistakes without having to make them ourselves

      • wizardbeard@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        How would chatgpt streamline that any better than other documentation and skimming things like programming blogs and stackoverflow?

        • emptiestplace@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          It’s not as dumb as you are suggesting. I’ve been programming in various languages since the 80s and I can say with confidence that your take is, at best, absurd. Go spend some time with GPT 4.

          • smotherlove@sh.itjust.works
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I’m IP banned due to my VPN. If they don’t want my business, that’s fine. I’m not getting off my VPN just to interact with proprietary software.

    • canni@lemmy.one
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      I’ve always, always been a intuition only guy. Meaning I almost never use any thing other than blind guessing on how languages and libraries work. I genuinely don’t feel I’m missing out on anything, my farts already smell better than the rest of my peers and I just don’t feel the need to learn the modern tools of my trade.

  • Mr_Lobster@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I literally cannot comprehend coding with ChatGPT- How can I expect something to work if I don’t understand it, and how can I understand it if I don’t code and debug it myself? How can you expect to troubleshoot any issues afterwards if you don’t understand the code? I wouldn’t trust GPT for anything more complex than Hello World.

    • 1984@lemmy.today
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Often the code is self explanitory. I understand the code very often, but I still couldn’t write it correctly from scratch. You never feel like that?

      This is how code examples in books works too. You get some code to look at and try to understand it. Otherwise it’s like you would ignore code examples while learning programming.

    • corsicanguppy@lemmy.ca
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      I use it to give me prototypes for ansible because Ansible is junk. Then I build my stuff from the mishmash and have GPT check it. Cuts a lot of time down that I’d rather be doing any-bloody-thing else with.

    • Psythik@lemm.ee
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      1 year ago

      I haven’t been in web development in over 20 years; thanks to ChatGPT, I was able to get up-to-speed and start building websites again, when in the past I would have never been able to do so.

      GPT is a powerful tool that can allow anyone to do anything if they’re willing to put in the effort. We should be praising it, not making fun of it. It’s as revolutionary as the internet itself.

  • PrettyFlyForAFatGuy@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    I can code a feature faster than i can debug ChatGPTs attempt. so long as it’s in JS

    ChatGPT is better at bash than me though

    • kurwa@lemmy.world
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      Why not? I haven’t had the best time with it, but it certainly can write gdscript

  • 9thSun@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    As someone who is learning, I think it’s imperative to understand that chatgpt has limitations that cannot be overlooked. It’s pretty good if I make some silly syntax or formatting errors, but at the core I have to understand what I’m working with if I want to be a better programmer. I love the conversational nature because I often have a hard time wording questions, so it helps me in that regard as well. Idk if you want to be truly good at something you have to be more reliant on yourself than external tools.

    • 1984@lemmy.today
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      edit-2
      1 year ago

      The thing is, in some fields like devops, there are so many tools that you can’t remember or know all of them very well. So asking chatgpt how to do something saves very much time. It can write ansible playbooks, docker files, web server configurations etc etc. They almost never work perfectly but they give a very good starting point to modify.

      It used to be that you could be very good at specific languages or tools but today, there isn’t enough time. Everyone is always in a hurry to get something out as quickly as possible too.

      • namingthingsiseasy@programming.dev
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Basically, yeah. Dennis Ritchie wrote the C compiler because he knew exactly what her wanted to use it for and the kinds of code that he wanted to write. Then he went on to write the book that everyone used to learn the language.

        This is true of probably every language, library, framework, etc. The original designer writes it because he knows what he wants to do with it and does so. Then everyone else follows. People then add more features and provide demonstrations of how to use them, and others copy them. It is extremely hard to just look at an API and use that to figure out exactly which calls should be made and in what order. Everyone just reads from the examples and adapts them as needed.

  • corsicanguppy@lemmy.ca
    link
    fedilink
    arrow-up
    0
    arrow-down
    2
    ·
    1 year ago

    There once were writers who didn’t objectify people by using pronouns reserved for inanimate objects.

    I haven’t seen any lately.