Menu
TCP: I got your packets, I promise.
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
Lexicographical order Memes
Posts tagged with Lexicographical order
Code Doesn't Lie, But It Might Miss The Point
Python
Java
Programming
1 year ago
359.1K views
1 shares
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
Windows User And Linux User
Linux
121.1M views
17 days ago
Story as old as hype and slave labor
Programming
109.6K views
4 years ago
ASUS TUF Gaming 27” 4K HDR Monitor (VG27UQ1A) – 160Hz, 1ms, Extreme Low Motion Blur Sync, NVIDIA G-SYNC Compatible, AMD FreeSync Premium, 95% DCI-P3, DisplayWidget, 3 yr Warranty
Affiliate
$388.95