Honestly sounds like LLMs have learned that from half the rust projects I’d seen before the LLM craze lol
I get why vibe coders love Rust - it’s a lot harder to shoot yourself in the foot if rustc is checking your lifetimes, but holy shit is the code I’ve seen from them the most unholy mess. Rust is difficult enough to read at the best of times but LLMs don’t even bother with any kind of module structure. Just thousands of lines of vomit in single files and a worrying amount of unsafe.
boonhet@lemmy.zip 2 days ago
FukOui@lemmy.zip 1 day ago
Unsafe? For vibe coded client/ backend?
Fiery@lemmy.dbzer0.com 1 day ago
Just tell the clanker to use modern practices poof fixed.
Jokes aside a lot of that bad code can be detected by static linting tools and gated on, making it impossible for any of those to reach main.