Menu
90% done means 90% left to do.
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
22 days ago
654.1K 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
Oh Boy
Debugging
195.5M views
8 days ago
NordVPN
Sponsored
VPN
My friends after listening to me complaining about APIs
Programming
107.0K views
5 years ago