Menu
Code quality metric: WTFs per minute.
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
Object references Memes
Posts tagged with Object references
Java Has A Higher State Of Mind
Java
Programming
Debugging
1 year ago
292.8K views
1 shares
Java developers evolving their equality-checking techniques like they're climbing the social ladder at a fancy dinner party. First panel: The peasant's approach with == that compares memory references instead of actual content. How primitive! Second panel: The middle-class obj1.equals(obj2) method - respectable, gets the job done, but lacks a certain... je ne sais quoi. Third panel: The aristocratic Objects.equals(obj1, obj2) with its monocle and top hat - handles null checks and prevents NullPointerExceptions with the elegance of someone who has staff to handle their exceptions for them.
Today's picks
DMSKY 100 Pack Rubber Ducks in Bulk
Affiliate
$34.99
We will never forget you.
Programming
101.9K views
4 years ago
Upwards Mobility
Backend
874.7K views
9 months ago