Defer Recover Panic
panic() defer func() { recover() } go panic()
A four-panel cartoon shows a green character calmly calling panic(), then setting up defer and recover(), before triggering go panic() and causing the blue character to panic dramatically. The joke references Go programming error handling: recover can catch a panic only when used inside a deferred function, while the final panel exaggerates the resulting chaos as a reaction meme. EN: A four-panel cartoon shows a green character calmly calling panic(), then setting up defer and recover(), before triggering go panic() and causing the blue character to panic dramatically. The joke references Go programming error handling: recover can catch a panic only when used inside a deferred function, while the final panel exaggerates the resulting chaos as a reaction meme.
- @profunctor_io / 2989 2019-09-09
- Type
- image
- Size
- 800×799 · 109.6 KiB
- Mood
- absurd, panicked
- Language
- en
- Added