Logo
Why do programmers prefer dark mode? Because light attracts bugs!
  • 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
3 months ago 117.9M 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

Where's The Love

Where's The Love

AI
149.5M views 27 days ago
Ah shiet they know

Ah shiet they know

Programming
105.0K views 2 years ago
FEZIBO 48 x 24 Inchs Electric Standing Desk, Height Adjustable, Sit Stand Up, Computer Office Desk with Splice Board, Black Frame/Rustic Brown Top

FEZIBO 48 x 24 Inchs Electric Standing Desk, Height Adjustable, Sit Stand Up, Computer Office Desk with Splice Board, Black Frame/Rustic Brown Top

Affiliate
$89.99