In all fairness, LLMs try to write the code with all the safeguards imaginable, all exceptions handled and following the SDK/language/framework guidelines.
So a lot of this verbosity is good, even if we aren't used to it, because almost no one writes their code so exhaustively.
So a lot of this verbosity is good, even if we aren't used to it, because almost no one writes their code so exhaustively.