5 Things You're Doing Wrong When Programming in Python

Опубликовано: 05 Февраль 2020
на канале: Jack of Some
417,290
16k

Python is a great language but I've seen many novices make some very fundamental mistakes and in this video I'm presenting 5 of them which cause immense pain and head scratching. I present the mistakes, their symptoms, as well as how to fix them.

(Thank you Timotej Bernat for compiling timestamps)

0:00 - Intro
0:22 - Not using if name = “__main__”
2:12 - Using bare excepts
4:40 - Not logging errors correctly
6:57 - Using lists when you should use sets/dicts
9:02 - Mutable defaults

SOME OF MY OTHER VIDOES:
○ Explaining RL to a baby:    • Baby Learns about Artificial Intellig...  
○ Reinforcement Learning Hello World:    • How to Solve a Basic Reinforcement Le...  
○ Coding on an Android:    • Programming with Python and NodeJS on...  
○ Learning programming language Julia:    • How to learn Julia, a new programming...  
○ Making Python fast:    • Can VSCode be a reasonable Spacemacs ...  

TWITTER:   / safijari  

#python #programming #mistakes