upvote
It does seem like LLMs write better Python when told to use type annotations, especially when coupled with a linter.
reply
I've been coding professionally in Python for about twenty years (alongside, at different times, a dozen or so other languages).

I find that Claude can write great modern Python more or less out of the box, with minimal style guidance from me. I do have to nudge it from time to time to not do silly things, but overall it's really rather good.

reply