Elektrine lite

← Feed

@daisy@cloudisland.nz

Post #3821343

2026-07-15 00:09 UTC

Something I’ve realised recently is that a lot of my frustrations with the AI-generated code I come across in code review is that newly generated code has a lot of the same problems that legacy brownfields code exhibits. Comments and docstrings that are inaccurate to the code they describe in subtle but important ways, because it describes how the code used to work, or maybe what was intended but never built. Code that is needlessly roundabout because it was hacked in on top of something else that was designed to work a different way to what ended up being needed. All things that legacy code that might have been well written will accrete over time, but AI-generated code starts out that way.

Replies (0)

No replies.