0:00 / 0:00
#python#metaprogramming#quirks
⚡ 5 Horrifying Python Techniques to get you fired - Andrew L
UWCS - University of Warwick Computing Society
3K subscribers • 1 video on Hallway
- Recommended by 2 people: 1 on Lobsters and 1 in engineering communities.
- Presented by Andrew L
Intermediate. Assumes working knowledge.
238K views3 years ago2 recommendations
Andrew L demonstrates five cursed Python techniques and exploits, including variable unbinding, annotations, and single-line hacks.
Python is a great language, with a few... cursed exploits. While a lot of implementation details make it easier to work with, they also lead to quirks - quirks which can be exploited for fun (and profit?). Whether it's variables, match statements, type hinting, imports, or even just trying to fit everything on one line, this talk has more than a few slithering tricks up its sleeve. Talk by Andrew L. Some explanations: (Link 1) gist.github.com/15leesan/c3fd7067debe512d8b02ca70ae712871 (Link 2) gist.github.com/15leesan/9f09b901a879bad5cc46d0c9607201d9 - Introduction - Variable Binding - Variable Unbinding - Annotations - One Line - ImportingWhy it's here
2 people recommend thisWhat people say. Recommended as an entertaining and educational look at Python's weirdest quirks and implementation details.
Moments people linked to
u/Thisconnectin r/programming • Recommends
On “Make Python great again!”
I love it, i feel like this could be better expanded to tariff functions in modules....
this talk will always be gold