Logo
Code quality metric: WTFs per minute.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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

Java equality Memes

Posts tagged with Java equality

Java Has A Higher State Of Mind

Java Programming Debugging
1 year ago 292.8K views 1 shares
Java Has A Higher State Of Mind
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

Handover

Handover

Programming
172.4M views 3 days ago
Cherry MX 3.0S Wireless, Mechanical Gaming Keyboard, Bluetooth, 2.4 GHz & Wired Mode, RGB Lighting, Aluminum Housing, Rechargeable, MX2A Blue Switches, Black

Cherry MX 3.0S Wireless, Mechanical Gaming Keyboard, Bluetooth, 2.4 GHz & Wired Mode, RGB Lighting, Aluminum Housing, Rechargeable, MX2A Blue Switches, Black

Affiliate
$149.99
Testing your website on different resolutions

Testing your website on different resolutions

Programming
115.0K views 4 years ago