Purge These 7 Code Smells From Your Python Code

Опубликовано: 05 Ноябрь 2021
на канале: ArjanCodes
71,984
2.4k

💡 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-ev....

🎓 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


На этой странице сайта вы можете посмотреть видео онлайн Purge These 7 Code Smells From Your Python Code длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь ArjanCodes 05 Ноябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 71,984 раз и оно понравилось 2.4 тысяч зрителям. Приятного просмотра!