Skip to content

Comment on Ask HN: How do you become a better Python developer?

Comments

Read well written code. I recommend Django.

I can second Django. I have a pinned tab of Django in github.dev. Whenever I need to understand how something works, I feel through the source code and it’s extremely pleasant.

I once had to monkey patch a compiler in Django. The source code’s documentation said “Compilers are undocumented.”

That’s Django speak for “do not mess with these - they are not intended for the developer to use in any way.”

I like how Django’s documentation is so complete, that leaving something out feels like it’s a protected class.

The monkey patching worked great.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.