Menu
Original Google servers: Made with Legos.
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
History api Memes
Posts tagged with History api
This Parameter Exists For Historical Reasons
Javascript
Programming
Debugging
Frontend
Webdev
1 year ago
304.7K views
0 shares
The JavaScript pushState() function has an unused parameter that literally does nothing but can't be removed because... backward compatibility! 🤦♂️ It's like that one useless function parameter that's been in your codebase for 5 years and everyone's too scared to remove it because "something might break." The documentation even admits it with a straight face: "This parameter exists for historical reasons, and cannot be omitted." The red scribbles perfectly capture every developer's reaction: "??? WTF" - which is basically the official technical term for legacy code maintenance.
Today's picks
Apple 2025 MacBook Pro Laptop with Apple M5 chip with 10‑core CPU and 10‑core GPU: Built for AI, 14.2-inch Liquid Retina XDR Display, 16GB Unified Memory, 1TB SSD Storage; Space Black
Affiliate
$1499.00
isEven returns if a value is even
Programming
72.5K views
4 years ago
I Will Never Live Up To Their Standards
Databases
66.2K views
2 years ago