Teaching a Baby JavaScript
How do I teach my one month old JavaScript? Start by explaining floating points. Is that something we can do at bath time? First you need to find a 0.1oz bottle of shampoo and a 0.2oz bottle of soap. I only have a 0.20000000000000004oz bottle of soap will that work?
A Twitter conversation jokes about teaching JavaScript to a one-month-old baby during bath time. The punchline references floating-point precision, where 0.1 + 0.1 is represented as 0.20000000000000004 in JavaScript, making the soap bottle technically acceptable. It is shared as a programmer reaction to floating-point errors and unexpected numerical behavior. EN: A Twitter conversation jokes about teaching JavaScript to a one-month-old baby during bath time. The punchline references floating-point precision, where 0.1 + 0.1 is represented as 0.20000000000000004 in JavaScript, making the soap bottle technically acceptable. It is shared as a programmer reaction to floating-point errors and unexpected numerical behavior.
- @dev_meme / 1301 2020-04-13
- Template
- Twitter conversation screenshot
- Type
- image
- Size
- 505×800 · 73.1 KiB
- Mood
- sarcastic, nerdy
- Language
- en
- Added