Menu
The best code is no code at all.
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
Java
Javascript
Python
C++
1 year ago
489.1K 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
Oh Boy
Debugging
195.5M views
8 days ago
monTEK Single Monitor Arm, Mechanical Spring Monitor Arm for 17-40" Ultrawide Screens, Adjustable Monitors Desk Mount Holds up to 24.2 lbs with C Clamp/Grommet Desk Mount, VESA 75/100mm, MA1011BK
Affiliate
$59.98
When you try out a new language
Programming
88.5K views
5 years ago