Menu
HTML is not a programming language. Change my mind.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
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
Literal comparison Memes
Posts tagged with Literal comparison
Code Doesn't Lie, But It Might Miss The Point
Python
Java
Programming
9 months ago
295.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
ELEGOO UNO R3 Smart Robot Car Kit V4 for Arduino Robotics for Kids Ages 8-12 12-16 STEM Science Kits Coding Gifts for 8 9 10 11 12 13 14 15 16 Year Old Boys Girls Teens Cool Engineering Building Toys
Affiliate
$59.99
The incoming Biden administration has a hidden message for IT folks in whitehouse.gov‘s source code.
Javascript
148.4K views
3 years ago
Unrealistic Expectations
Hardware
211.7K views
1 year ago