Logo
HTML is not a programming language. Change my mind.
  • 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

Lexicographical order Memes

Posts tagged with Lexicographical order

Code Doesn't Lie, But It Might Miss The Point

Python Java Programming
9 months ago 295.1K views 1 shares
Code Doesn't Lie, But It Might Miss The Point
When the age-old Python vs Java debate gets settled by... string comparison. Someone asked for proof that Python is better than Java, and they got it - technically. In the Python interpreter, 'python' > 'java' evaluates to True because in lexicographical comparison 'p' comes after 'j' in the alphabet. Congratulations, the greatest programming language war has been resolved with literal string comparison. Next up: solving tabs vs spaces by measuring their physical width with a ruler.

Today's picks

Either Experience Means Anything Or It Does Not

Either Experience Means Anything Or It Does Not

Programming
2.1M views 5 days ago
GearScouts.com

GearScouts.com

Sponsored
Power stations
Apple 2026 MacBook Pro Laptop with Apple M5 Pro chip with 18-core CPU and 20-core GPU: Built for AI, 16.2-inch Liquid Retina XDR Display, 24GB Unified Memory, 1TB SSD, Wi-Fi 7; Space Black

Apple 2026 MacBook Pro Laptop with Apple M5 Pro chip with 18-core CPU and 20-core GPU: Built for AI, 16.2-inch Liquid Retina XDR Display, 24GB Unified Memory, 1TB SSD, Wi-Fi 7; Space Black

Affiliate
$2449.99