💡 Learn how to design great software in 7 steps: https://arjan.codes/designguide.
Yes, I'm back with 7 more code smells for you! I describe each smell using an example in Python and then show you how to fix it.
The code I worked on in this video is available here: https://github.com/ArjanCodes/2021-even-more-code-smells.
🎓 ArjanCodes Courses: https://www.arjancodes.com/courses/
🔖 Chapters:
0:00 Intro
1:29 Explaining the example
6:02 About code smells
6:36 #1: using the wrong data structure
9:23 #2: using misleading names
10:54 #3: classes with too many instance variables
14:23 #4: Verb/subject
18:03 #5: Backpedalling
21:32 #6: Hard-wired sequences with a fixed order
24:31 #7: Creating unrelated objects in the initializer
27:04 BONUS: Not relying on keyword arguments
#arjancodes #softwaredesign #python