I decided to write a book on many themes I’ve seen people doing wrong with Python
(I previously wrote about two popular posts: Exception Handling
), and there are even more topics that I can’t explore in a regular post format.
This week I’m going to share publicly a draft of the first chapter, about organizing Python code. From time to time I receive questions on how to name things in Python, how to organize them into modules, whether to create functions or classes and so on.
(❤️ P.S. Honest feedback is highly encouraged!)
There’s no silver bullet that answers all these questions, but there are guidelines that can lead to a better organized and less chaotic project.
I hope you enjoy!