DEV Community

Discussion on: What is your one piece of advice or best tip for getting better in Python programming?

Collapse
 
cuneyt profile image
Cuneyt

I will suggest four things:

  1. I second reading others' codebase as much as writing code. Trying re-writing some pieces of the codebase is also helpful. I personally found reading Django REST Framework's codebase super helpful.

  2. Reading a high-quality book is important to have structural knowledge. I suggest Python Cookbook in order to learn good tricks in context.

  3. Stick to a long-term project to keep writing code. Also, learn and use asserts and logs inside your code. Keep writing tests.

  4. Last but not least share your code with others, get reviews from others around you or you get into touch with online, ask for help in dev.to, make your code open source in GitHub.

Collapse
 
rosejcday profile image
Rose Day

Oh, interesting! Thanks for the book reference, I will have to look into it. I like the idea of keeping a long-term project to work on.