Главная
Study mode:
on
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
Description:
Explore common anti-patterns in Python programming through this 28-minute conference talk from EuroPython 2021. Discover both general software anti-patterns and Python-specific issues, drawing insights from The Little Book of Python Anti-Patterns. Learn to identify and avoid problematic coding practices, including improper exception handling, misuse of context managers, inconsistent function return types, and inappropriate access of protected class members. Gain valuable knowledge on proper dictionary usage, import practices, variable naming conventions, and type comparisons. Suitable for developers with basic to intermediate Python knowledge, including familiarity with classes, constructors, and parameter usage.

Python Anti-Patterns

EuroPython Conference
Add to list