Menu
Why do programmers prefer dark mode? Because light attracts bugs!
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
Cargo cult programming Memes
Posts tagged with Cargo cult programming
Buffer Size
Programming
Debugging
C++
Backend
Security
4 months ago
363.9K views
0 shares
When your code review buddy asks if buffer size 500 is enough and you respond with the confidence of someone who has absolutely no idea what they're doing. Will it handle the data? Probably. Will it cause a buffer overflow and crash production at 2 PM on a Friday? Also probably. But hey, 500 sounds like a nice round number, right? It's bigger than 100 but not as scary as 1000. The scientific method at its finest.
The Arcane Art Of Copy-Paste Programming
StackOverflow
Programming
Debugging
1 year ago
217.9K views
0 shares
The perfect metaphor for modern programming doesn't exi— This is literally how 90% of codebases work. Some wizard cobbled together mysterious incantations from "Arcane Overflow" (aka Stack Overflow), has no idea why it works, but hey—it passes the tests! The best part is the "it isn't actually necessary anymore... but the whole spell falls apart without it" bit. Nothing screams legacy code like keeping random functions because removing them breaks everything for reasons nobody can explain. Somewhere in your codebase right now is a comment that says "// DON'T REMOVE THIS LINE OR EVERYTHING BREAKS"
Today's picks
Apple 2019 MacBook Pro with 1.4GHz Intel Core i5 (13-inch, 8GB RAM, 128GB SSD) - Space Gray (Renewed)
Affiliate
$299.00
GearScouts.com
Sponsored
Power stations
Just because a lot of people have it does not mean it is good.
Java
43.2K views
3 years ago