Menu
Code for the psychopath who'll maintain it.
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
Struct definition Memes
Posts tagged with Struct definition
Max Erals: When Copy-Paste Goes Too Far
Gamedev
Programming
Debugging
Csharp
Unity
1 year ago
484.5K views
0 shares
Found the bug in your game's economy! Someone forgot to cap those resource costs. The struct shows Minerals but then Maxerals instead of Vespene Gas or something sensible. Classic case of "let me just copy-paste this variable and... oops, didn't change it enough." Now your players can mine infinite resources because you literally coded in the MAX-imum minerals. No wonder your space marines have diamond-plated coffee mugs!
Today's picks
Cable Matters 20Gbps USB C KVM Switch, 3-in-1-Out, 140W PD Charging | 8K@30Hz on Windows, 4K@60Hz on macOS, Shares USB-C/Thunderbolt 4 Monitor or Dock, Not for Captive Cable Docks/Adapters
Affiliate
$67.99
You Are Doomed
StackOverflow
398.0K views
1 year ago
NordVPN
Sponsored
VPN