Menu
What's a programmer's favorite place? The foo bar!
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
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
Globals Memes
Posts tagged with Globals
Who Let The Python Psychopath Cook
Python
Programming
Debugging
Databases
11 months ago
284.0K views
0 shares
SWEET MOTHER OF NESTED LOOPS! This code is what happens when you let a serial killer write your data processing script! 😱 It's like watching someone try to solve a Rubik's cube while blindfolded, drunk, AND riding a unicycle through a minefield! The absolute AUDACITY of using globals().__setitem__ instead of just assigning a variable like a normal human being! And those underscores everywhere? It's like they're trying to communicate in Morse code through variable names! Whoever wrote this abomination should be legally banned from touching a keyboard for at least 7 business days. Future maintainers will need therapy sessions and possibly an exorcist. 💀
The Pythonic Way To Give Your Coworkers Trust Issues
Python
Programming
Security
Debugging
12 months ago
272.9K views
0 shares
Ah yes, the forbidden Python technique: dynamic imports with globals injection . Because why use normal imports when you can write code that makes your security team have nightmares? This beautiful disaster is bypassing Python's import system by directly manipulating the global namespace. It's like breaking into your own house through the chimney when you have perfectly good keys in your pocket. The regular expression module "re" is just sitting there wondering why it got dragged into this abomination. Meanwhile, some poor code reviewer is probably questioning their career choices right now.
Today's picks
My Entire Sprint Was Just Git Reverting The LLM
Programming
1.4M views
1 day ago
Java Is Javascript
Java
239.2K views
1 month ago
GearScouts.com
Sponsored
Power stations