5 Tips for Writing Clean Python Code

Published: 14 June 2024
on channel: ArjanCodes
29,131
782

👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis.

In this video, I'll share 5 key things you should do to avoid writing crappy code. These tips, drawn from my own experience, will help you write clean code.

🔥 GitHub Repository: https://git.arjan.codes/2024/clean_code

🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/

🔖 Chapters:
0:00 Intro
0:30 Example
3:57 #1 Meaningful Names
6:48 #2 Comment Wisely
8:38 #3 Functions/Modules Should Be Responsible For One Thing
13:49 #4 Error Handling as Logic
15:54 BONUS: Formatting
16:29 #5 Become a domain expert without becoming a domain expert
25:02 Final thoughts

#arjancodes #softwaredesign #python