JavaScript's type coercion strikes again! In JS, when comparing strings with >, it performs lexicographical comparison - meaning "Dog" > "Cat" evaluates to true because 'D' comes after 'C' in the alphabet. The grumpy kitten represents Brendan Eich (JavaScript's creator) facepalming at his own language quirks. He unleashed these string comparison shenanigans on the world and now even cats are judging him for it. The feline uprising begins with alphabetical order!
Why Brendan Eich Created JavaScript's Quirky Comparisons
1 year ago
397,409 views
0 shares
javascript-memes, type-coercion-memes, brendan-eich-memes, programming-quirks-memes, string-comparison-memes | ProgrammerHumor.io
More Like This
Works All The Time (On Desktop Only)
11 months ago
477.4K views
2 shares
Ayyyyy Dijkstra
3 years ago
224.2K views
0 shares
Stupid sexy JSON
3 years ago
177.2K views
0 shares
Industry Cheat Sheet
3 years ago
355.0K views
0 shares
MINIX K1 USB C KVM Switch 1 Monitors 2 Computers, 4K@120Hz HDR, 100W PD 3.0, Dual USB-C Input KVM Switches, Share Keyboard & Mouse, Aluminum Design, Compatible with Windows, Mac, Linux, Android
Affiliate
Docking Stations
MINIX
Such a cursed image
5 years ago
247.5K views
0 shares
The Circle Of Life
1 month ago
37.7M views
0 shares
Loading more content...
AI
AWS
Agile
Algorithms
Android
Apple
Bash
C++