Logo
Never let a hardware engineer near your code.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • 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 266.6K 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

Funny Metal Sign Rubber Duck Debugging Quote Vintage Tin Signs Poster For Home Room Bedroom Office Decor 8x12inch

Funny Metal Sign Rubber Duck Debugging Quote Vintage Tin Signs Poster For Home Room Bedroom Office Decor 8x12inch

Affiliate
$9.97
Thought of this in a Dream last night O⁠_⁠o

Thought of this in a Dream last night O⁠_⁠o

Programming
51.5K views 2 years ago
IDK what I'm doing

IDK what I'm doing

Programming
65.5K views 3 years ago