Menu
HTTP 418: I'm a teapot. Yes, really.
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
Compromise Memes
Posts tagged with Compromise
The Great Index Compromise
Programming
Algorithms
Python
Javascript
C++
1 year ago
474.8K views
0 shares
The eternal holy war of programming: zero-indexing vs one-indexing. Some languages start arrays at 0 (looking at you, C and friends), others insist on starting at 1 (MATLAB and Lua, you rebels). Then there's that one galaxy-brain developer who suggests starting at 0.5 as a "compromise." Because nothing says "I've solved computer science" like introducing floating point errors into your array indices. Next brilliant idea: using π as the starting index – because irrational numbers make PERFECT sense for memory addressing!
Today's picks
Windows User And Linux User
Linux
121.2M views
19 days ago
The Four Pillars Of Programming Survival
Programming
282.6K views
11 months ago
NordVPN
Sponsored
VPN