Integers Are a Social Construct
"2" == 2 true "2" === 2 false "2" ==== 2 what are numbers "2" ===== 2 INTEGERS ARE A SOCIAL CONSTRUCT "2" ====== 2 ok fine
A JavaScript console shows increasingly absurd comparisons between the string "2" and the number 2, ending with the declaration that integers are a social construct. The joke mocks JavaScript’s equality operators and the confusion caused by type coercion, making it useful as a reaction to programming logic that feels arbitrary. EN: A JavaScript console shows increasingly absurd comparisons between the string "2" and the number 2, ending with the declaration that integers are a social construct. The joke mocks JavaScript’s equality operators and the confusion caused by type coercion, making it useful as a reaction to programming logic that feels arbitrary.
- @profunctor_io / 1319 2018-09-19
- Type
- image
- Size
- 484×408 · 19.3 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added