Scala Sorts Chicken Before Egg
scala> Array("🥚", "🐔").sortBy(x => x) res13: Array[String] = Array(🐔, 🥚)
A Scala REPL sorts an array containing an egg and a chicken, placing the chicken before the egg. The joke humorously answers the classic chicken-or-egg question through alphabetical sorting, where the chicken emoji comes first. EN: A Scala REPL sorts an array containing an egg and a chicken, placing the chicken before the egg. The joke humorously answers the classic chicken-or-egg question through alphabetical sorting, where the chicken emoji comes first.
- @ithueti / 1471 2019-10-19
- Type
- image
- Size
- 566×110 · 8.8 KiB
- Mood
- witty, absurd
- Language
- en
- Added