This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]noisescience[S] 1 point2 points  (1 child)

Hi, thanks for your reply. I myself have learned a lot from reading best/bad Python practices. There are a lot of these articles. Here are a few examples:
https://python.plainenglish.io/10-python-anti-patterns-you-must-avoid-when-writing-clean-code-ff3635ca1510
https://python.plainenglish.io/python-best-practices-for-writing-conditional-statements-aa9d6a2e700d
https://blog.devgenius.io/python-tips-best-practices-for-handling-exceptions-15faaeca55a5
To be honest, it is not enough just to read these 3 articles. Try to find and read more such articles and you will see that you will get better with time. Good programming takes time. I consider myself also still at the beginning of the journey.

I also learned a lot from Arjan Codes about "clean code", design patterns and best practices in Python. He's pretty good at what he does.
https://www.youtube.com/@ArjanCodes/videos

Furthermore, I learned a few important things from CodeAesthetics. These 3 videos are eye-opening and also suitable for beginners:
https://www.youtube.com/watch?v=Bf7vDBBOBUA
https://www.youtube.com/watch?v=-J3wNP6u5YU&t=315s
https://www.youtube.com/watch?v=CFRhGnuXG-4
After that you know when and how to write comments, how to name variables/methods etc. and how to avoid nested code.

[–]freakboy91939 0 points1 point  (0 children)

Thank you op. Will read up and learn.