Menu
The first computer password was 'password'.
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
Sizeof Memes
Posts tagged with Sizeof
The World If Array Lengths Were Civilized
C++
Javascript
Programming
1 year ago
281.2K 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
Go Away I'm Coding Coder Computer Programming Programmer Student Graduation Birthday Valentines Christmas Drinkware Novelty Coffee Ceramic Mug 11 oz Black
Affiliate
$14.97
print() > Breakpoints
Debugging
47.0K views
3 years ago
GearScouts.com
Sponsored
Power stations