Pony Division by Zero
Divide by zero in Pony In Pony, divide by zero results in zero. That's right, let x = 1 / 0 results in 0 being assigned to x . Insane right? Well, yes and no. From a mathematical standpoint, it is very much insane. From a practical standpoint, it is very much not.
A programming article screenshot explains that the Pony language assigns zero when dividing by zero. The joke is the absurd contrast between mathematical impossibility and Pony's practical behavior, making it a reaction to bizarre programming language design or unexpected code behavior.
- @profunctor_io / 1165 2018-08-06
- Type
- image
- Size
- 800×282 · 27.0 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added