Menu
Never let a hardware engineer near your code.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
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
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
Affiliate
$9.97
Thought of this in a Dream last night O_o
Programming
51.5K views
2 years ago
IDK what I'm doing
Programming
65.5K views
3 years ago