881
you are viewing a single comment's thread
view the rest of the comments
[-] reka@lemmy.world 69 points 4 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.

[-] technocrit@lemmy.dbzer0.com 15 points 4 months ago* (last edited 4 months ago)

Bad code from AI is just the latest version of mindlessly pasting from Stack Overflow.

Humans literally can not scan all of SO to make a huge copypasta.

It takes much more time, effort, and thought to find various solutions on SO and patch them together into something that works well.

[-] MonkderVierte@lemmy.ml 14 points 4 months ago* (last edited 4 months ago)

Yeah but... i asked chatgpt once how to style something in asciidoctors style.yml. It proposed me html syntax (some inline stuff can be done with html tags in asciidoctor, if output is html). After the usual apology, it suggested some wrong yaml. Third try, because formatting was wrong, it mixed them both.

I mean, sure, some niche usecase in a somewhat obscure (lots of moving parts) lightweight markup. But still, this was a lesson.

[-] BlameTheAntifa@lemmy.world 9 points 4 months ago

this has less to do with using AI, more to do with sloppy code reviews and code quality enforcement.

They are the same picture.

[-] Aceticon@lemmy.world 3 points 4 months ago

More specifically: the same kind of decision makers are behind both.

[-] TheReturnOfPEB@reddthat.com 6 points 4 months ago* (last edited 4 months ago)

Computer write shite code and the human still gets blamed.

edit: we have become gods

[-] TheRedSpade@lemmy.world 14 points 4 months ago

The human turned the code in. They deserve 100% of the blame.

[-] forrcaho@lemmy.world 4 points 4 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.

this post was submitted on 15 Sep 2024
881 points (100.0% liked)

Technology

61203 readers
3606 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS