Completed
Using the global statement
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Python Anti-Patterns
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Help you reach the next level
- 3 What exactly is a (design) pattern?
- 4 The AntiPattern on the other hand
- 5 Categories of the book
- 6 No exception type specified
- 7 Ignore context managers to handle files
- 8 Return more than one variable type in function calls
- 9 Accessing a protected member from outside the class
- 10 Assigning to built-in function
- 11 Using tabs or mixing tabs with spaces
- 12 Not using else where appropriate in a loop
- 13 Not using get() to return a default value from a dict
- 14 Using wildcard imports
- 15 Using the global statement
- 16 Using single letter to name your variables
- 17 Comparing things to True the wrong way
- 18 Using type() to compare types
- 19 Not using named tuples in function return