Menu
Inheritance: When your problems become my problems.
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
Sizeof Memes
Posts tagged with Sizeof
The World If Array Lengths Were Civilized
C++
Javascript
Programming
1 year ago
271.8K views
0 shares
Ah, the eternal C/C++ programmer's dream - a world where you don't have to choose between sizeof(array) and sizeof(array[0]) just to get the damn array length. Meanwhile, JavaScript devs are smugly using .length while we're over here doing division like it's 1972. The utopian future depicted isn't flying cars - it's sensible array APIs that don't decay into pointers the moment you sneeze on them. Ten thousand years of programming evolution and we're still manually calculating element counts like cavemen with abacuses.
Today's picks
Programmer Coder - Developer Programming Software Engineer T-Shirt
Affiliate
$19.99
Yeah, knowing this fact definitely makes me feel better about my CSS skills
Programming
201.0K views
4 years ago
I am ashamed of how many times I need to google it
Programming
71.0K views
4 years ago