We've all been there. We start out learning a new programming language or its even our first. We'll always make mistakes but that does not mean that we should repeat them.
I cover a lot of the common Python mistakes that a lot of us make. You might even find a solution to some bugs that you currently have.
I cover the following:
default function arguments
Scope rules
incorrect use of class variables
Modifying a list while iterating over it
circular module dependencies
Confusing how Python binds variables in closures
Chapters:
0:00 Default function arguments
0:56 Scope rules
1:28 Class variables
2:39 Lists
3:15 Circula dependencies
---------Reach out to me on------------
Github: https://github.com/pawel02
Twitter: / computeshorts
Computeshorts: https://computeshorts.com/
-------------------------------------------------------
#python #mistakes
Смотрите видео How to write better python code онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Computeshorts 17 Декабрь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 175 раз и оно понравилось 8 посетителям.