• Telorand@reddthat.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    Wow, the text generator that doesn’t actually understand what it’s “writing” is making mistakes? Who could have seen that coming?

    I once asked one to write a basic 50-line Python program (just to flesh things out), and it made so many basic errors that any first-year CS student could catch. Nobody should trust LLMs with anything related to security, FFS.

    • blackjam_alex@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      8 months ago

      My experience with ChatGPT goes like this:

      • Write me a block of code that makes x thing
      • Certainly, here’s your code
      • Me: This is wrong.
      • You’re right, this is the correct version
      • Me: This is wrong again.
      • You’re right, this is the correct version
      • Me: Wrong again, you piece of junk.
      • I’m sorry, this is the correct version.
      • (even more useless code) … and so on.
  • reka@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    As stated in the article, this has less to do with using AI, more to do with sloppy code reviews and code quality enforcement. Bad code from AI is just the latest version of mindlessly pasting from Stack Overflow.

    I encourage jrs to use tools such as Phind for solving problems but I also expect them to understand what they’re submitting and be ready to defend it no differently to any other PR. If they’re submitting code they don’t understand that’s incredibly unprofessional and I would come down very hard on them. They don’t do this though because we don’t hire dickheads.

    • forrcaho@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      We used to have these shit developers and I accepted a lot of bad code back then – if it actually worked – because otherwise “code review” is full-on training, which is an entire other job from the one I was hired to do.

      The client ditched that contracting firm, and the devs I work with now are worth putting in time on code review with – but damn, we got hella shit code in our codebase to deal with now. Some of it got tossed, some of it … we live with.

  • yrmp@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    Lmao my job announced layoffs a few months back. They continue to parade their corporate restructuring plan in front of us like we give a fuck if shareholders make money. My output has dropped significantly as I search for another role. Whatever code I do write now is always just copy pasted from AI (which is getting harder to use…fuck you Copilot). I give zero fucks about this place anymore. Maybe if people had some small semblance of investment in their company’s success (i.e.: not milked by shareholders and beaten to dust by shitty profit driven metrics that take away from the core business), the employees might give enough fucks to not copy paste shitty third party code.

    Additionally, this is a training issue. Don’t offload the training of your people onto the universities (which then trap the students into an insurmountable debt load leading them to take jobs they otherwise wouldn’t want to take just to eat and have a roof over their heads). The modern corporate landscape has created a perfect shitstorm of disincentives for genuine effort and diligence. Then you expect us to give a shit about your company even though the days of 40 years and a pension are now gone. We’re stuck with 401k plans and social security and the luck of the draw as to whether we can retire or not. Work your whole life for what? Fuck you. I’m gonna generate that AI code and enjoy my 30s and 40s.

    A workforce trapped by debt, forced to prioritize job security and paycheck size over passion or purpose. People end up in roles they don’t care about, working for companies they have no investment in, simply to keep up with loan payments and the ever increasing cost of living.

    “Why is my organization falling apart!?” Fucking look up from the stupid fucking metrics that don’t actually tell you anything you dumb fucks. Make an actual human decision and fix the wealth inequality. It’s literally always wealth inequality.

    • ozoned@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      15 years ago I got a job where I wasn’t allowed to do anything. I hated it. I wanted to learn and be valuable and be valued. I left that job.

      I worked for a bank and then Red Hat and I loved what I did and burned myself out trying to make them happy. Only to find out they still didn’t value me.

      I switched jobs two years ago and increased my pay 30% overnight and back to a job doing nothing. And I’m totally fine with it now. I have a family and I focus on them and during work, if they don’t have anything for me to do I make my own happiness.

      Fuck corporations. I’ll take your money, I’ll never again kill myself as I’ll never be valued anyway. Jobs aren’t worth it. People are.