Menu
The first computer password was 'password'.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Builtins Memes
Posts tagged with Builtins
Why Can I Do This
Python
Programming
7 hours ago
4.5M views
0 shares
Someone just discovered they can override __getattribute__ to intercept attribute access and dynamically fetch functions from the builtins module. So now their Blorp class can magically call hello_world("print") even though that method doesn't exist—it's just grabbing the print function at runtime. Python's dunder methods are like giving a toddler the keys to a bulldozer. Sure, you can do it, but should you? Your future self (and anyone who has to maintain this code) will be debugging phantom methods wondering where the hell they're defined. Spoiler: they're not. They're summoned from the void like some dark magic ritual. Just because Python lets you doesn't mean your code review should.
Today's picks
Employee Vs Freelancer Vs Founder Vs Vibe Coder
Programming
291.1M views
3 days ago
NordVPN
Sponsored
VPN
3dRose Binary Code - Black and Green Poster Matte 12x12
Affiliate
$18.10