Logo
It's not a bug, it's an undocumented feature.
  • 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

Return-codes Memes

Posts tagged with Return-codes

Exceptions Are For The Weak

C++ Java Programming Python Rust
2 months ago 117.8M views 0 shares
Exceptions Are For The Weak
You know you've been writing C too long when someone suggests using exceptions and you physically recoil. The top panel shows the enlightened Java, C#, C++, and Python devs calmly explaining that errors are special cases deserving proper exception handling. Meanwhile, C down there is having an absolute power trip with its "strong return" energy, flanked by Rust and... whatever that other mascot is. Here's the thing: C doesn't do exceptions. You get an error code, you check it, or you don't and your program segfaults at 3 AM in production. It's survival of the fittest. Rust took that energy and made it type-safe with Result types, which is basically "we have exceptions at home." But C? Pure, unfiltered return codes and errno. No safety nets, no hand-holding, just you, your integer, and your poor life choices. The Japanese text (強いリターン) literally means "strong return" which is chef's kiss perfect. Because nothing says strength like manually propagating errors through 47 layers of function calls.

Today's picks

Samsung 49” Odyssey G9 Series DQHD 1000R Curved Gaming Monitor, 1ms(GtG), VESA DisplayHDR 1000, 240Hz, AMD FreeSync Premium Pro, Height Adjustable Stand, Ultrawide Screen, LS49CG954ENXZA, 2024

Samsung 49” Odyssey G9 Series DQHD 1000R Curved Gaming Monitor, 1ms(GtG), VESA DisplayHDR 1000, 240Hz, AMD FreeSync Premium Pro, Height Adjustable Stand, Ultrawide Screen, LS49CG954ENXZA, 2024

Affiliate
$701.58
Two sides of the same coin

Two sides of the same coin

Programming
92.8K views 3 years ago
Spotted at my university

Spotted at my university

Programming
91.0K views 4 years ago