Favorite Way to Crash an Application
What's your favorite way to crash your application? We had this line in the giant monolithic MSN Explorer app to test Dr. Watson and much later windows telemetry when i worked for Microsoft for testing purposes, it always made me crack up..... void Kaboom() { *(int*)0 = 0; }
A Reddit programming post jokes about a deliberately simple C++ function that crashes an application by dereferencing a null pointer. The absurdly dramatic name “Kaboom” contrasts with the tiny, blunt implementation, referencing old Microsoft crash-reporting tools and making it a relatable reaction for programmers discussing bugs and crashes.
- @ithueti / 6086 2022-04-23
- Type
- image
- Size
- 800×661 · 71.9 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added