Logo
What's a programmer's favorite place? The foo bar!
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • 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
11 months ago 225.7K 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

ASUS 27” 4K Business Monitor (VA27UCPS) - UHD (3840 x 2160), IPS, 99% sRGB, HDR-10, USB-C PD65W, USB Hub, Speakers, Eye Care, Ergonomic, VESA Wall Mountable, Green Sustainability, 3 yr Warranty

ASUS 27” 4K Business Monitor (VA27UCPS) - UHD (3840 x 2160), IPS, 99% sRGB, HDR-10, USB-C PD65W, USB Hub, Speakers, Eye Care, Ergonomic, VESA Wall Mountable, Green Sustainability, 3 yr Warranty

Affiliate
$372.14
Kinda Suspicious Rust

Kinda Suspicious Rust

Programming
442.9K views 1 year ago
GearScouts.com

GearScouts.com

Sponsored
Power stations