Logo
One missing comma can ruin your whole day.
  • 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 348.0K 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

Raryine Excel/Word/Power Point/Windows Mouse pad,Non-Slip&Waterproof Large Gaming Office pc Desk mat(XXL 35.4x15.8 in),Over 200 Keyboard Shortcuts Mousepad

Raryine Excel/Word/Power Point/Windows Mouse pad,Non-Slip&Waterproof Large Gaming Office pc Desk mat(XXL 35.4x15.8 in),Over 200 Keyboard Shortcuts Mousepad

Affiliate
$15.99
NordVPN

NordVPN

Sponsored
VPN
No one knows what it's like...

No one knows what it's like...

Programming
97.8K views 2 years ago