Python Anti-Patterns

Python Anti-Patterns

EuroPython Conference via YouTube Direct link

Return more than one variable type in function calls

8 of 19

8 of 19

Return more than one variable type in function calls

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

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.