Not denying your experience at all, but I've had a great experience using Claude to do the busy-work of "open a serial port on any of 3 platforms", or "set up the basics of a tkinter GUI" in Python, such that it let me get to the real work of manipulating data, addressing the device on the serial port, designing the UI much quicker.
I wouldn't hand an AI the whole task, at least not yet. But the thankless grunt work? Yes please. Away with it.
The one time I had trouble with Claude was when every suggestion ran into one particular OS+Python version bug neither Claude nor I knew was breaking every attempt. At that point, Claude started flailing, and appeared to realize my free question budget was diminishing, and suggested something easier but hacky. When I ran out of questions, I researched with search, found the bug online, resolved with a version upgrade. Not Claude's fault.