Logo
IPv4: We're running out! Since 1990.
  • 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

Compile-time-vs-runtime Memes

Posts tagged with Compile-time-vs-runtime

How To Sneak Under Compiler

Debugging Java Programming Python Csharp
2 months ago 35.5M views 0 shares
How To Sneak Under Compiler
So you want to divide by zero but the compiler keeps catching you? Just add an extra step, genius. First panel shows the obvious trap: int x = 1 / 0; and the compiler's standing there like a bouncer at a club, not letting that nonsense through. But wait—the second panel reveals the master plan: declare int zero = 0; first, then do int x = 1 / zero; . Suddenly the compiler's like "seems legit" because it can't detect the runtime disaster you're about to unleash. It's the programming equivalent of wearing a fake mustache to rob a bank. Congrats, you've successfully bamboozled the compile-time checks and earned yourself a runtime exception. Your program will crash spectacularly, but hey, at least it compiled! 🎉

Today's picks

ErGear Dual Monitor Stand, Heavy Duty Adjustable Monitor Desk Mount for 2 Screens up to 32 Inches, Fully Adjustable Height, Tilt, Swivel, Rotate, Supports 17.6 lbs per Monitor Arm, Easy Installation

ErGear Dual Monitor Stand, Heavy Duty Adjustable Monitor Desk Mount for 2 Screens up to 32 Inches, Fully Adjustable Height, Tilt, Swivel, Rotate, Supports 17.6 lbs per Monitor Arm, Easy Installation

Affiliate
$28.48
Caused Me Two Hours

Caused Me Two Hours

Programming
101.6K views 2 years ago
Flashing memory or something I don't know not an engineer

Flashing memory or something I don't know not an engineer

Programming
108.8K views 4 years ago