Why AI coding assistants keep generating deprecated functions, and how devs cope

sharificles · reddit · 2026-09-17

A developer reports that Claude Code generated a Kotlin Android MVP with deprecated function calls scattered across nearly every file, requiring manual fixes one by one — the same happened patching a Rust project. Oddly, once the problem is described, the model instantly knows the correct modern API. The thread asks for solutions, highlighting a known weakness: training data skew toward older code and lack of alignment with current API versions.

Original post →

More from coding & agent

coding & agent channel →