logoalt Hacker News

fwiptoday at 3:31 AM1 replyview on HN

It does seem like LLMs write better Python when told to use type annotations, especially when coupled with a linter.


Replies

aix1today at 4:56 AM

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.