"LLMs write terrible code"
No. YOU suck at learning how to use new tools.
You're feeding it nothing, getting the average of its training data, then complaining about it.
Saw it with my tools: some learned and got 10x out of that time, some complained.