1
|
|
|
|
25 nooby Python habits you need to ditch
|
|
|
147 listeners
|
2
|
|
|
|
Every PROOF you've seen that .999... = 1 is WRONG
|
|
|
71 listeners
|
3
|
|
|
|
Intro
|
|
|
70 listeners
|
4
|
|
|
|
Python dataclasses will save you HOURS, also featuring attrs
|
|
|
62 listeners
|
5
|
|
|
|
any use of reinterpret cast
|
|
|
32 listeners
|
6
|
|
|
|
Python's creator wishes this feature never existed
|
|
|
31 listeners
|
7
|
|
|
|
Python's sharpest corner is ... plus equals? (+=)
|
|
|
26 listeners
|
8
|
|
|
|
The Single Most Useful Decorator in Python
|
|
|
26 listeners
|
9
|
|
|
|
casting away const
|
|
|
25 listeners
|
10
|
|
|
|
not using structured bindings
|
|
|
24 listeners
|
11
|
|
|
|
The Fastest Way to Loop in Python - An Unfortunate Truth
|
|
|
21 listeners
|
12
|
|
|
|
You should put this in all your Python scripts
|
|
|
17 listeners
|
13
|
|
|
|
Restrict explanation
|
|
|
17 listeners
|
14
|
|
|
|
Zero inverse
|
|
|
17 listeners
|
15
|
|
|
|
str/int: Controversial breaking change added to Python
|
|
|
16 listeners
|
16
|
|
|
|
Localization
|
|
|
16 listeners
|
17
|
|
|
|
31 nooby C++ habits you need to ditch
|
|
|
14 listeners
|
18
|
|
|
|
Type params
|
|
|
12 listeners
|
19
|
|
|
|
You should put this in all your Python scripts | if __name__ == '__main__': ...
|
|
|
12 listeners
|
20
|
|
|
|
forgetting to mark destructor virtual
|
|
|
11 listeners
|
21
|
|
|
|
basicConfig
|
|
|
11 listeners
|
22
|
|
|
|
Faster CPython
|
|
|
11 listeners
|
23
|
|
|
|
For loops are redundant
|
|
|
10 listeners
|
24
|
|
|
|
Efficient Exponentiation
|
|
|
10 listeners
|
25
|
|
|
|
Better error locations
|
|
|
10 listeners
|
26
|
|
|
|
Immortal objects
|
|
|
10 listeners
|
27
|
|
|
|
modifying a container while looping over it
|
|
|
9 listeners
|
28
|
|
|
|
super, Python's most misunderstood feature.
|
|
|
9 listeners
|
29
|
|
|
|
not knowing about default vs value initialization
|
|
|
9 listeners
|
30
|
|
|
|
returning std move of a local
|
|
|
9 listeners
|
31
|
|
|
|
not using unique ptr and shared ptr
|
|
|
9 listeners
|
32
|
|
|
|
Vector add example
|
|
|
9 listeners
|
33
|
|
|
|
thinking evaluation order is left to right
|
|
|
9 listeners
|
34
|
|
|
|
thinking raw pointers are bad
|
|
|
9 listeners
|
35
|
|
|
|
4 Only providing io functions taking a path
|
|
|
9 listeners
|
36
|
|
|
|
Comprehension inlining
|
|
|
8 listeners
|
37
|
|
|
|
Actually, you CAN divide by zero.
|
|
|
8 listeners
|
38
|
|
|
|
thinking std move moves something
|
|
|
8 listeners
|
39
|
|
|
|
any manual resource management
|
|
|
8 listeners
|
40
|
|
|
|
The real purpose of Python's match statement, feat. CSTs
|
|
|
8 listeners
|
41
|
|
|
|
Exception Groups
|
|
|
8 listeners
|
42
|
|
|
|
Unlocking your CPU cores in Python (multiprocessing)
|
|
|
8 listeners
|
43
|
|
|
|
Python lists remember what you did to them
|
|
|
7 listeners
|
44
|
|
|
|
logging is the standard
|
|
|
7 listeners
|
45
|
|
|
|
Bye bye setuptools
|
|
|
7 listeners
|
46
|
|
|
|
Correctness fib example
|
|
|
7 listeners
|
47
|
|
|
|
Python Generators
|
|
|
6 listeners
|
48
|
|
|
|
__new__ vs __init__ in Python
|
|
|
6 listeners
|
49
|
|
|
|
Buffer protocol in Python
|
|
|
6 listeners
|
50
|
|
|
|
TypedDict annotating kwargs
|
|
|
6 listeners
|