5 ms·
I find AI code usually looks worse than it actually is. It's overly verbose, confusing, and littered with fallbacks that mean that if something goes wrong it fa
by somesortofthing 6mo ago
I find AI code usually looks worse than it actually is. It's overly verbose, confusing, and littered with fallbacks that mean that if something goes wrong it falls through a million layers of try/catch and moves the stack trace somewhere completely unrelated to where the error actually happened, but in terms of the actual functionality it works much better than any similar-looking code written by a human would.
- layer8 6mo agoSuch code as you describe is still bad code, though, because it’s difficult to reason about it, both for humans and LLMs.
- somesortofthing 6mo agoIt's bad code, but it's not pretending to be better than it is.