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

Static vs member Memes

Posts tagged with Static vs member

I Dont Know Anymore

Programming Debugging Testing Security Csharp
1 year ago 378.4K views 0 shares
I Dont Know Anymore
This meme perfectly captures the existential crisis of C++ developers. The code creates a class called "StaticNotInventedYet" with a method that checks if "this" exists. When run with a null pointer (0x0), it somehow prints "static" instead of crashing spectacularly. But when compiled with a different flag (-O1 vs -O0), it prints "member" instead! The monkey's confused face is every programmer realizing that compiler optimizations are basically black magic and C++ just does whatever it wants. When undefined behavior meets compiler optimizations, even the language itself doesn't know what's real anymore.

Today's picks

Where's The Love

Where's The Love

Programming
149.5M views 27 days ago
I have a programmer joke, but there’s an error in the code

I have a programmer joke, but there’s an error in the code

Debugging
91.3K views 2 years ago
Hidden Message Coffee Mug, Novelty Coffee Mugs for Women and Men, Funny Birthday/White Elephant Gifts, Unique Office Prank Gag Gift for Coworkers and Coffee Lovers - White Black

Hidden Message Coffee Mug, Novelty Coffee Mugs for Women and Men, Funny Birthday/White Elephant Gifts, Unique Office Prank Gag Gift for Coworkers and Coffee Lovers - White Black

Affiliate
$9.99