Menu
Real programmers count from 0.
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
Number Memes
Posts tagged with Number
JavaScript's Type Conversion: A Horror Story
Javascript
Programming
Debugging
Frontend
Webdev
1 year ago
330.6K views
0 shares
JavaScript's type conversion is like that friend who's confident but wrong about everything. Empty string? That's clearly 0! "07foo"? Obviously 7! And my personal favorite: a tiny decimal like 0.0000005 somehow becomes 5, because who needs those pesky zeros anyway? The best part is how parseInt() and Number() can't even agree with each other. One sees scientific notation, the other just sees numbers to ignore. It's like watching two drunk mathematicians argue about how to split the bill. This is why JavaScript developers drink.
Today's picks
Fuck If I Know
Programming
1.7M views
1 day ago
Let me rm
Programming
73.9K views
4 years ago
The World's Most Secure Verification System
Security
394.6K views
10 months ago