you are viewing a single comment's thread
view the rest of the comments
[–] 58 points 6 months ago (9 children)

I'd still be highly sceptical about pull requests with code created by llms. Personally what I noticed is that the author of such pr doesn't even read the code, and i have to go through all the slop

  • source
  • hideshow 9 child comments
  • [–] 19 points 6 months ago (4 children)

    Ya I'm finding myself being the bad code generator at work as I'm scattered across so many things at the moment due to attrition and AI can do a lot of the boilerplate work, but it's such a time and energy sink to fully review what it generates and I've found basic things I missed that others catch and shows the sloppiness. I usually take pride in my code, but I have no attachment to what's generated and that's exposing issues with trying to scale out using this

  • source
  • parent
  • hideshow 4 child comments
  • [–] 18 points 6 months ago* (last edited 6 months ago) (2 children)

    Same. There’s reduction in workforce, pressure to move faster, and no good way to do that without sloppiness. I have never been this down on the industry before; it was never great, but now it’s terrible.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • [–] 1 point 6 months ago

    I suspect the answer will be that such large requested as you frequently see with LLM codegen will just be rejected.

    Already I see changes broken up and suggested bit by bit, so I presume the same best practice applies.

  • source
  • parent
  • [+] -8 points 6 months ago* (last edited 6 months ago) (2 children)

    Did we all forget about stackoverflow?

    Peopleblindly copy/pasted from there all the time.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 10 points 6 months ago

    Couple of years back I got a PR at work that used a block of code that read a CSV, used some stream method to covert it to binary to then feed it to pandas to make a dataframe. I don't remember the exact steps it did, but was just crazy when pd.read_csv existed.

    On a hunch I pasted the code in google and found an exact match on overflow for a very weird use case on very early pandas.

    I'm lucky and if people send obvious shit at work I can just cc their manager, but I fell for the volunteers at large FOSS projects, or even paid employees.

  • source
  • parent