How to write better python code

Published: 17 December 2021
on channel: Computeshorts
181
8

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


On this page of the site you can watch the video online How to write better python code with a duration of hours minute second in good quality, which was uploaded by the user Computeshorts 17 December 2021, share the link with friends and acquaintances, this video has already been watched 181 times on youtube and it was liked by 8 viewers. Enjoy your viewing!