Menu
Code for the psychopath who'll maintain it.
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
Equality-operator Memes
Posts tagged with Equality-operator
Almost Dropped The Course
Programming
Javascript
Python
8 hours ago
52.3K views
0 shares
That beautiful moment in CS101 when you discover arrays start at 0 and the equality operator has a twin brother. Nothing quite like the existential crisis of learning that 2 == 2.0 returns true because type coercion is just vibing in the background. Meanwhile you're sitting there wondering if your entire understanding of mathematics is a lie. The double equals does type conversion before comparing (so the number 2 and the float 2.0 are considered equal), while triple equals would actually check if they're the same type too. But hey, at least you didn't learn this the hard way during a production bug at 3 AM like the rest of us did.
Today's picks
Windows User And Linux User
Linux
121.2M views
18 days ago
"it can't be that much different from other languages..."
Programming
92.4K views
4 years ago
The Story Of Needless Redesigns
Programming
155.0M views
2 months ago