Logo
On the internet, nobody knows you're a dog.
  • 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 Gamedev Programming
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

Windows User And Linux User

Windows User And Linux User

Linux
121.2M views 21 days ago
Dark IDE themes

Dark IDE themes

Debugging
62.3K views 4 years ago
Beelink SER5 PRO Mini PC,AMD Ryzen 5 5500U (6C/12T,up to 4.0 GHz),Mini Computer with 16GB DDR4/480GB NVMe SSD,Support Triple Screen Display, WiFi6, BT5.4,Type-C, 2.5G LAN

Beelink SER5 PRO Mini PC,AMD Ryzen 5 5500U (6C/12T,up to 4.0 GHz),Mini Computer with 16GB DDR4/480GB NVMe SSD,Support Triple Screen Display, WiFi6, BT5.4,Type-C, 2.5G LAN

Affiliate
$389.00