Menu
TCP: I got your packets, I promise.
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
Hardcoded-strings Memes
Posts tagged with Hardcoded-strings
I 18 N Not Needed
Frontend
Javascript
Programming
Webdev
React
2 months ago
87.3M views
0 shares
Classic move right here. Someone hardcoded the ternary operator display text directly into the UI instead of using proper i18n (internationalization) keys. So now users in Germany are staring at "Save" or "d" when the media is saved, and everyone's wondering what the hell "d" means in their language. Spoiler alert: it means nothing. The beauty of this is that some dev thought "we're only launching in English-speaking markets" and then three months later the PM announces expansion to 47 countries. Now you get to grep through thousands of files finding every hardcoded string while questioning your life choices. Pro tip: i18n isn't just for translation—it's for when you realize "d" made perfect sense at 2 AM but means absolutely nothing to anyone else, including your future self.
Today's picks
BEELINK EX Mate Mini-B 2TB for Mac mini M4 Dock, 80Gbps USB-C Aluminum Alloy Stand with M.2 PCIe SSD Slot (Pre-Installed 2TB NVMe, Expandable up to 8TB, 2.5G LAN, USB-A 3.0, SD4.0, Silver)
Affiliate
$299.00
NordVPN
Sponsored
VPN
I feel like Visual Studios gets no love on this sub, I only ever see references to VS Code
Programming
108.1K views
3 years ago