Logo
My code doesn't work, I have no idea why. My code works, I have no idea why.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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

Unmaintainable code Memes

Posts tagged with Unmaintainable code

This Saves Two Cycles (And My Employment)

C++ Programming Debugging Security
1 year ago 381.1K views 0 shares
This Saves Two Cycles (And My Employment)
Someone's job security strategy is absolutely chef's kiss . Instead of writing clean, maintainable code, they've created a function that always returns 2, labeled it as "job security," and then made two helper functions that literally copy memory addresses to change the return value. Nothing says "I'll never be fired" like writing code that only you understand and using memcpy() to overwrite function implementations instead of, you know, just changing the original function. Because why write one line of code when you can write twenty that require a hazmat suit to maintain? Bonus points for the "NEVER call this function" comments that scream "I'm the only one who knows which landmines not to step on." Pure evil genius at work here.

Today's picks

AULA S99 Gaming Keyboard, Wireless Green Creamy Computer Keyboards

AULA S99 Gaming Keyboard, Wireless Green Creamy Computer Keyboards

Affiliate
$35.99
NordVPN

NordVPN

Sponsored
VPN
I clicked forgot password and they literally sent me this. Who the fuck does this?

I clicked forgot password and they literally sent me this. Who the fuck does this?

Linux
77.2K views 4 years ago