News for hackers. Stuff that matters.
Re:Is 30% of Microsoft's code AI-generated? by hedora on Wednesday November 19, 2025 @10:05PM (#45988420)
I’ve definitely seen agents add null checks to a computed value in a function, but then not change the return type to be non-null. Later, it adds a null checks at each call site, each with a different error message and/or behavior, but all unreachable.

For bonus points, it implements a redundant version of the same API, and that version can return null, so now the dozen redundant checks are sorta unreachable.

There are no comments on this comment yet.