this post was submitted on 12 Jul 2025
353 points (95.4% liked)

Programming

22170 readers
33 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] resipsaloquitur@lemmy.world 8 points 1 month ago (6 children)

Someone told me the best use of AI was writing unit tests and I died on the inside.

[–] FizzyOrange@programming.dev -1 points 1 month ago (5 children)

Why? That is a great use for AI. I'm guessing you are imagining that people are just blindly asking for unit tests and not even reading the results? Obviously don't do that.

[–] resipsaloquitur@lemmy.world 8 points 1 month ago* (last edited 1 month ago) (4 children)

Of course that’s what they’re doing. That’s the whole point. Generate a bunch of plausible-looking BS and move on.

Writing one UT (actually writing, not pressing tab) gives you ideas for other tests.

And unit tests are not some boring chore. When doing TDD, they help inform and guide the design. If the LLM is doing that thinking for you, too, you’re just flying blind. “Yeah, that looks about right.”

Can’t wait for this shit to show up in medical devices.

load more comments (2 replies)
load more comments (2 replies)
load more comments (2 replies)