Menu
Why do programmers prefer dark mode? Because light attracts bugs!
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
Passing the buck Memes
Posts tagged with Passing the buck
Double It And Give It To The Next Person
Databases
Backend
Programming
Debugging
20 days ago
8.8M views
0 shares
Someone asks how to solve the infamous N+1 query problem in ORMs, and the response is pure gold: just double it and pass it to the next person. Because why fix a performance nightmare when you can make it exponentially worse and let it become someone else's problem? For context: The N+1 query problem happens when your ORM fetches a list of N items, then makes a separate database query for each item's related data. So instead of 1 query, you get N+1 queries. It's like ordering pizza one slice at a time instead of just ordering the whole damn pie. The solution here? Make it 2N+2 queries and yeet it to your colleague. Peak engineering right there. This is the database equivalent of setting your code on fire and walking away in slow motion.
Today's picks
UPLIFT DESK V3 2-Leg White Laminate Wood Standing Desk – Adjustable Height, Advanced 1-Touch Memory Keypad, Under Desk Cable Management, Wire Grommets & Rocker Board (Black C-Frame, 72 x 30 inch)
Affiliate
$888.00
JS is my favorite language and I'm not even lying.
Javascript
182.9K views
3 years ago
Undefined
Javascript
213.1K views
2 years ago