28
you are viewing a single comment's thread
view the rest of the comments
[-] CaptPretentious@lemmy.world 7 points 4 months ago

Today, I ran into a bug. We're being encouraged to use AI more so I asked copilot why it failed. I asked without really looking at the code. I tried multiple times and all AI could say was 'yep it shouldn't do that' but didn't tell me why. So, gave up on copilot and looked at the code. It took me less than a minute to find the problem.

It was a switch statement and the case statement had (not real values) what basically reads as ' variable' == 'caseA' or 'caseB'. Which will return true... Which is the bug. Like I'm stripping a bunch of stuff away but co-pilot couldn't figure out that the case statement was bad.

AI is quickly becoming the biggest red flag. Fast slop, is still slop.

this post was submitted on 18 Aug 2025
28 points (96.7% liked)

Technology

78626 readers
577 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 news or articles.
  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, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  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