Logo
QWERTY: Designed to slow typists down.
  • 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

Weird-logic Memes

Posts tagged with Weird-logic

But.. (From Minecraft B 1.2_02)

Java Programming Gamedev
2 months ago 1.7M views 0 shares
But.. (From Minecraft B 1.2_02)
So you're telling me you check if something is NOT eating, and if that's true, you print "Eating... But..."? That's some galaxy brain logic right there. The real kicker is what comes after—setting hasNormal to true and then doing some sketchy byte casting with bit shifts. Nothing says "stable codebase" like multiplying floats by magic numbers (128.0F, 127.0F, 82.0F) and shoving them into bytes with wild type casting. Classic early Minecraft code. Notch was out here speed-running game development with the kind of code that makes you go "it works, don't touch it" for the next decade. The variable names are doing absolutely zero favors too—xx, yy, zz? We're converting coordinates here but the logic feels like it was written at 3 AM fueled by energy drinks and pure chaos.

Today's picks

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
291.1M views 5 days ago
If I Had A Penny For Every Firefox-Specific Issue

If I Had A Penny For Every Firefox-Specific Issue

Webdev
472.9K views 1 year ago
NordVPN

NordVPN

Sponsored
VPN