Logo
Code is poetry written by poets who can't spell.
  • 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

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 day ago 127.6K views 0 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.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Andaz Press Funny 11oz. Coffee Mug Gag Gift, Pl...

Andaz Press Funny 11oz. Coffee Mug Gag Gift, Pl...
Ad Purchase this to fund our research into why the code works when the senior dev looks at it. 👀