Menu
One missing comma can ruin your whole day.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
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
348.0K 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
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
Sponsored
VPN
No one knows what it's like...
Programming
97.8K views
2 years ago